/* Base Styles & Variables - Optimized */
:root {
    --primary-color: #0099cc;
    --primary-dark: #007aa3;
    --primary-light: #e6f7ff;
    --secondary-color: #4caf50;
    --secondary-dark: #388e3c;
    --accent-color: #ffc107;
    --text-dark: #333333;
    --text-medium: #666666;
    --text-light: #999999;
    --bg-light: #ffffff;
    --bg-off-white: #f9f9f9;
    --bg-gray: #f5f5f5;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --section-spacing: 5rem;
}

/* Reset & Base Styles - Optimized */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: var(--section-spacing) 0;
}

/* Typography - Optimized */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
}

h4 {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-medium);
}

/* Logo Styles - Optimized */
.logo {
    display: flex;
    align-items: center;
    max-width: 220px;
}

.logo-icon {
    background: linear-gradient(135deg, #0099cc 0%, #4caf50 100%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    box-shadow: 0 4px 10px rgba(0, 153, 204, 0.3);
    flex-shrink: 0;
}

.logo-icon i {
    color: white;
    font-size: 20px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text-main {
    font-size: 26px;
    font-weight: 900;
    color: #0099cc;
    letter-spacing: 0.5px;
    line-height: 1;
}

.logo-text-main span {
    color: #0099cc;
}

.logo-text-secondary {
    font-size: 13px;
    color: #4caf50;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 2px;
}

/* Buttons - Optimized */
.btn-primary,
.btn-secondary,
.btn-service {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
}

.btn-service {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

.btn-service:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Section Headers - Optimized */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--primary-color);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
}

/* Header & Navigation - Optimized */
.hero-slider {
    flex: 1;
    position: relative;
    height: 450px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    display: none;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 992px) {
    .hero-slider {
        display: block;
    }
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

@media (max-width: 767px) {
    .hero {
        background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.8)), url('images/hero-mobile.png');
        background-size: cover;
        background-position: center;
    }
}

header.scrolled {
    padding: 0.7rem 0;
    box-shadow: var(--shadow-md);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mobile-nav-controls {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.header-mobile-call {
    display: none;
    width: 35px;
    height: 35px;
    background-color: #0099cc;
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 153, 204, 0.4);
    animation: pulse-call 2s infinite;
    z-index: 1000;
}

@keyframes pulse-call {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 153, 204, 0.4); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(0, 153, 204, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 153, 204, 0); }
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 18px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 0;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--text-dark);
    border-radius: 10px;
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.nav-menu {
    display: none;
}

.nav-menu.active {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: white;
    padding: 6rem 2rem 2rem;
    z-index: 999;
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
}

.nav-menu ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.nav-menu a {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.btn-contact {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-contact:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Hero Section - Optimized */
.hero {
    padding-top: 8rem;
    padding-bottom: 4rem;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(0, 153, 204, 0.05) 0%,
            rgba(76, 175, 80, 0.05) 100%);
    z-index: 0;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 600px;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.hero-features .feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-features i {
    color: var(--secondary-color);
}

.hero-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

/* Services Section - Optimized */
.services {
    background-color: var(--bg-off-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: white;
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.service-icon {
    width: calc(100% + 4rem);
    height: 240px;
    margin: -2rem -2rem 1.5rem -2rem;
    overflow: hidden;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.service-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 1.5rem;
}

.service-features {
    margin-bottom: 1.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: var(--text-medium);
}

.service-features i {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.service-card .btn-service {
    margin-top: auto;
}

/* About Section - Optimized */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: 20px;
    width: 100px;
    height: 100px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-md);
}

.experience-badge span {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge p {
    font-size: 0.8rem;
    text-align: center;
    margin: 0;
    color: white;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.feature-text h4 {
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.feature-text p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Team Section - New */
.team {
    background-color: white;
}

.team-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
}

.team-image {
    flex: 1;
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.team-text {
    flex: 1;
}

.team-text h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.team-features {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.team-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    color: var(--text-medium);
}

.team-features li i {
    color: var(--primary-color);
}

@media (min-width: 768px) {
    .team-content {
        flex-direction: row;
    }
}

/* Process Section - Optimized */
.process {
    background-color: var(--bg-off-white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

.process-step {
    background-color: white;
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
    position: relative;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.step-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.process-step h3 {
    margin-bottom: 1rem;
}

.process-step p {
    margin-bottom: 0;
}

/* Testimonials Section - Optimized */
.testimonials {
    background-color: var(--bg-off-white);
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 1rem;
}

.testimonial-card {
    background-color: white;
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    height: 100%;
}

.testimonial-rating {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 1.5rem;
}

.testimonial-rating i {
    color: var(--accent-color);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -2rem;
    left: -1rem;
    color: var(--primary-light);
    opacity: 0.5;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.author-info p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.testimonial-controls button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.testimonial-controls button:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.testimonial-controls button:hover i {
    color: white;
}

.testimonial-controls button i {
    color: var(--text-dark);
    font-size: 1rem;
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background-color: var(--primary-color);
}

/* Service Areas Accordion - New */
.areas-accordion {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.accordion-column {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.accordion-item {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.accordion-header {
    padding: 1.2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: white;
    transition: var(--transition);
}

.accordion-header h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.accordion-header i {
    font-size: 0.9rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header {
    background-color: var(--primary-light);
}

.accordion-item.active .accordion-header i {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background-color: white;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    padding: 0 1.5rem 1.5rem;
}

.accordion-content p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.6;
}

@media (min-width: 768px) {
    .areas-accordion {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Service Areas Section - Optimized */
.service-areas {
    background-color: white;
}

.areas-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 2rem;
}

.areas-map {
    flex: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.areas-list {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
}

.area-column h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.area-column ul li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: var(--text-medium);
}

.area-column ul li i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.areas-note {
    text-align: center;
    font-style: italic;
    color: var(--text-light);
}

.areas-note a {
    color: var(--primary-color);
    font-weight: 600;
}

.areas-note a:hover {
    text-decoration: underline;
}

/* Contact Section - Optimized */
.contact {
    background-color: var(--bg-off-white);
}

.contact-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-info {
    flex: 1;
}

.contact-card {
    background-color: white;
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    height: 100%;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.method-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-icon i {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.method-details h4 {
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.method-details p {
    margin-bottom: 0;
    color: var(--text-medium);
}

.business-hours {
    margin-bottom: 2rem;
}

.business-hours h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.business-hours ul li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    color: var(--text-medium);
}

.business-hours ul li span {
    font-weight: 600;
    color: var(--text-dark);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.social-links a i {
    color: var(--primary-color);
    font-size: 1rem;
    transition: var(--transition);
}

.social-links a:hover i {
    color: white;
}

.contact-form-container {
    flex: 1;
}

.contact-form {
    background-color: white;
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-light);
}

/* CTA Section - Optimized */
.cta {
    background: linear-gradient(135deg,
            var(--primary-color) 0%,
            var(--secondary-color) 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta .btn-primary {
    background-color: white;
    color: var(--primary-color);
}

.cta .btn-primary:hover {
    background-color: var(--bg-off-white);
}

.cta .btn-secondary {
    border-color: white;
    color: white;
}

.cta .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Footer - Optimized */
footer {
    background-color: var(--text-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-about {
    max-width: 300px;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

/* Footer logo styles */
footer .logo-icon {
    width: 35px;
    height: 35px;
}

footer .logo-icon i {
    font-size: 18px;
}

footer .logo-text-main {
    color: white;
}

footer .logo-text-secondary {
    color: var(--secondary-color);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-social a i {
    color: white;
    font-size: 1rem;
}

.footer-links h3,
.footer-services h3,
.footer-contact h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-links h3::after,
.footer-services h3::after,
.footer-contact h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul,
.footer-services ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-services a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-services a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact ul li i {
    color: var(--primary-color);
    margin-top: 0.3rem;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.developer-credit {
    display: flex;
    align-items: center;
    gap: 10px;
}

.developer-credit span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.developer-credit img {
    height: 30px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: var(--transition);
}

.developer-credit a:hover img {
    opacity: 1;
    transform: scale(1.05);
}

/* Back to Top Button - New */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 153, 204, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

.back-to-top i {
    font-size: 20px;
}

/* Floating Contact Buttons - New */
.floating-contact {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 99;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.floating-btn:hover {
    transform: translateY(-5px);
}

.call-btn {
    background-color: var(--primary-color);
    color: white;
}

.call-btn:hover {
    background-color: var(--primary-dark);
}

.whatsapp-btn {
    background-color: #25d366;
    color: white;
}

.whatsapp-btn:hover {
    background-color: #128c7e;
}

.floating-btn i {
    font-size: 24px;
}

/* Performance Optimizations */
img {
    will-change: transform;
}

/* Reduce animation complexity for better performance */
.service-card:hover,
.process-step:hover,
.social-links a:hover,
.btn-primary:hover,
.btn-secondary:hover,
.btn-service:hover {
    transform: translateY(-3px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Responsive Styles - Optimized */
@media (min-width: 576px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .checklist-columns {
        grid-template-columns: repeat(2, 1fr);
    }

    .areas-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .hero-content {
        flex-direction: row;
        align-items: center;
    }

    .hero-text {
        flex: 1;
    }

    .hero-image {
        flex: 1;
    }

    .about-content {
        flex-direction: row;
    }

    .about-image {
        flex: 1;
    }

    .about-text {
        flex: 1;
    }

    .checklist-content {
        flex-direction: row;
    }

    .areas-content {
        flex-direction: row;
    }

    .contact-content {
        flex-direction: row;
    }

    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 992px) {
    .menu-toggle {
        display: none;
    }

    .nav-menu {
        display: block;
        position: static;
        width: auto;
        height: auto;
        padding: 0;
        background: transparent;
        box-shadow: none;
        overflow: visible;
    }

    .nav-menu ul {
        flex-direction: row;
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(4, 1fr);
    }

    .checklist-columns {
        grid-template-columns: repeat(3, 1fr);
    }

    .areas-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Responsive logo adjustments */
@media (max-width: 576px) {
    .logo {
        max-width: 180px;
    }

    .logo-icon {
        width: 32px;
        height: 32px;
    }

    .logo-icon i {
        font-size: 16px;
    }

    .logo-text-main {
        font-size: 16px;
    }

    .logo-text-secondary {
        font-size: 9px;
    }
}

/* Mobile-specific improvements */
@media (max-width: 767px) {

    /* General spacing */
    section {
        padding: 3rem 0;
    }

    .container {
        width: 95%;
        padding: 0 10px;
    }

    /* Typography adjustments */
    h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    /* Header & Navigation */
    header {
        padding: 0.8rem 0;
    }

    .logo-icon {
        width: 45px;
        height: 45px;
    }

    .logo-text-main {
        font-size: 30px;
    }

    .logo-text-secondary {
        font-size: 14px;
    }

    .mobile-nav-controls {
        display: flex;
        align-items: center;
        gap: 0.8rem;
    }

    .header-mobile-call {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .menu-toggle {
        width: 25px;
        height: 18px;
        margin-left: 0.2rem;
    }

    .nav-menu.active {
        width: 100%;
        padding: 5rem 1.5rem 1.5rem;
    }

    /* Hero section */
    .hero {
        padding-top: 6rem;
        padding-bottom: 3rem;
    }

    .hero-text p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: row;
        gap: 0.5rem;
        width: 100%;
    }

    .hero-buttons a {
        flex: 1;
        padding: 0.8rem 0.5rem;
        font-size: 0.8rem;
        text-align: center;
        white-space: nowrap;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-features {
        flex-direction: column;
        gap: 0.8rem;
    }

    /* Service cards */
    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        width: calc(100% + 3rem);
        height: 180px;
        margin: -1.5rem -1.5rem 1.5rem -1.5rem;
        border-radius: var(--radius-md) var(--radius-md) 0 0;
        overflow: hidden;
    }

    .service-icon i {
        font-size: 1.5rem;
    }

    /* Process steps */
    .process-step {
        padding: 1.5rem;
    }

    .step-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 1.5rem;
    }

    .testimonial-author img {
        width: 50px;
        height: 50px;
    }

    /* Contact form */
    .contact-form {
        padding: 1.5rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 0.95rem;
    }

    /* CTA section */
    .cta {
        padding: 2.5rem 0;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }

    .cta-buttons a {
        width: 100%;
    }

    /* Footer */
    footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        gap: 2rem;
    }

    /* Buttons */
    .btn-primary,
    .btn-secondary,
    .btn-service {
        padding: 0.7rem 1.5rem;
        display: block;
        text-align: center;
    }

    .btn-service {
        width: 100%;
    }

    .btn-contact {
        display: none;
    }

    .header-mobile-call {
        display: flex;
    }

/* Animation States */
.service-card, .process-step, .testimonial-card, .about-image, .team-image {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity, transform;
}

.service-card.revealed, .process-step.revealed, .testimonial-card.revealed, .about-image.revealed, .team-image.revealed {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}
}

/* Extra small devices */
@media (max-width: 375px) {
    .logo {
        max-width: 150px;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
    }

    .logo-text-main {
        font-size: 22px;
    }

    .logo-text-secondary {
        font-size: 12px;
    }

    .btn-contact {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    h1 {
        font-size: 1.6rem;
    }

    h2 {
        font-size: 1.4rem;
    }
}
/* SEO Location Links */
.seo-location-link:hover {
    color: var(--secondary-color) !important;
}
.seo-location-link:hover i {
    transform: scale(1.1);
}
