/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
}

/* Skip to Main Content Link (Accessibility) */
.skip-to-main {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    font-weight: 600;
    border-radius: 0 0 4px 0;
    transition: top 0.3s;
}

.skip-to-main:focus {
    top: 0;
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}

:root {
    --primary-color: #FF6B35;
    --secondary-color: #004E89;
    --dark-color: #1A1A1A;
    --light-color: #F5F5F5;
    --white: #FFFFFF;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #E0E0E0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* Improved Focus Indicators for Accessibility */
*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Remove default focus for mouse users, keep for keyboard */
*:focus:not(:focus-visible) {
    outline: none;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    touch-action: manipulation; /* Better touch response */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
}

.nav-brand {
    flex-shrink: 0;
}

.nav-brand h2 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-brand a {
    display: inline-block;
    text-decoration: none;
    transition: var(--transition);
}

.nav-brand a:hover {
    opacity: 0.8;
}

.nav-brand .logo {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: flex-end;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
    position: relative;
    padding: 8px;
    -webkit-tap-highlight-color: transparent;
    pointer-events: auto;
    user-select: none;
    -webkit-user-select: none;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
    display: block;
    pointer-events: none;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #0056a3 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    line-height: 1.2;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white);
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    font-size: 2rem;
    margin-top: 10px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #e55a2a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--secondary-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Sections */
.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary-color);
    font-weight: 700;
    line-height: 1.3;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--light-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-icon i {
    font-size: 3rem;
    color: var(--primary-color);
}

.feature-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

/* About Preview */
.about-preview {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-image {
    position: relative;
}

.about-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.image-placeholder {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 10px;
    padding: 4rem;
    text-align: center;
    font-size: 8rem;
    box-shadow: var(--shadow-lg);
}

.image-placeholder.large {
    padding: 6rem;
    font-size: 10rem;
}

.service-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    min-height: 300px;
}

.footer-logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 1rem;
    opacity: 1;
    display: block;
}

.footer-section > a {
    display: inline-block;
}

/* Services Preview */
.services-preview {
    padding: 80px 0;
    background: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.text-center {
    text-align: center;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #0056a3 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-header p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.9;
}

/* Profile Section */
.profile-section {
    padding: 80px 0;
}

.profile-content {
    margin-bottom: 4rem;
}

.profile-text h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.profile-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Mission & Vision */
.mission-vision {
    padding: 80px 0;
    background: var(--light-color);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.mv-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.mv-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.mv-icon i {
    font-size: 4rem;
    color: var(--primary-color);
}

.mv-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

/* Values Section */
.values-section {
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

.value-card h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Leadership Section */
.leadership-section {
    padding: 80px 0;
    background: var(--light-color);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.leader-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.leader-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.leader-avatar {
    font-size: 3rem;
    margin-bottom: 0.75rem;
}

.leader-card h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.leader-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.leader-desc {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Services Main */
.services-main {
    padding: 80px 0;
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse > * {
    direction: ltr;
}

.service-info h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.service-info p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.service-list {
    list-style: none;
    margin-bottom: 2rem;
}

.service-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.service-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Additional Services */
.additional-services {
    padding: 80px 0;
    background: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-mini-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-mini-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-mini-card h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #0056a3 100%);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Solutions */
.solutions-main {
    padding: 80px 0;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.solution-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.solution-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.solution-icon i {
    font-size: 3.5rem;
    color: var(--primary-color);
}

.solution-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.solution-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.solution-features {
    list-style: none;
    margin-bottom: 2rem;
}

.solution-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.solution-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Tech Solutions */
.tech-solutions {
    padding: 80px 0;
    background: var(--light-color);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tech-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tech-card h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Custom Solutions */
.custom-solutions {
    padding: 80px 0;
}

.custom-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.custom-content h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.custom-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.custom-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
    text-align: left;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
}

.check-icon {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Contact Section */
.contact-section {
    padding: 50px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.info-card {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    padding: 1.25rem;
    background: var(--light-color);
    border-radius: 10px;
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.info-content h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.info-content p {
    color: var(--text-light);
    margin: 0.25rem 0;
}

/* WhatsApp Contact */
.whatsapp-contact {
    margin-top: 1.25rem;
}

.whatsapp-contact h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: #25D366;
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.whatsapp-btn:hover {
    background: #20BA5A;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.whatsapp-icon {
    font-size: 1.5rem;
}

.whatsapp-note {
    margin-top: 0.75rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Phone Links */
.phone-link {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.footer .phone-link {
    color: var(--text-dark);
}

.phone-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.whatsapp-link {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.footer .whatsapp-link {
    color: var(--text-dark);
}

.whatsapp-link:hover {
    color: #25D366;
    text-decoration: underline;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 30px;
    left: 30px;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 78, 137, 0.3);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #20BA5A;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--light-color);
    padding: 2rem;
    border-radius: 10px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    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 3px rgba(255, 107, 53, 0.1);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #dc3545;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.form-message.info {
    background: #e3f2fd;
    color: #1976d2;
    border: 1px solid #1976d2;
    display: block;
}

/* Field Error Messages */
.field-error {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    min-height: 1.25rem;
}

.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #dc3545;
}

.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: #28a745;
}

.form-group input:focus:invalid,
.form-group textarea:focus:invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* Honeypot Field (Hidden from users) */
.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
}

.honeypot label,
.honeypot input {
    display: none;
}

/* Checkbox Label */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
    flex-shrink: 0;
}

.checkbox-label span {
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* CAPTCHA Group */
.captcha-group {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid var(--border-color);
}

.captcha-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--secondary-color);
}

.captcha-group label span {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.captcha-group input[type="number"] {
    width: 100%;
    max-width: 200px;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
}

.captcha-group input[type="number"]:focus {
    border-color: var(--primary-color);
    outline: none;
}

.captcha-hint {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-light);
    font-size: 0.85rem;
    font-style: italic;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background: var(--light-color);
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.map-placeholder {
    background: var(--white);
    padding: 4rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    color: var(--text-light);
}

.map-placeholder p {
    margin: 0.5rem 0;
}

/* Footer */
.footer {
    background: var(--white);
    color: var(--text-dark);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-section ul li {
    margin-bottom: 0;
}

.footer-section a {
    color: var(--text-dark);
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-section a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.footer-section p {
    opacity: 0.8;
    margin: 0.5rem 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Responsive Design */

/* Small Laptops and Large Tablets (1024px - 1366px) */
@media (max-width: 1366px) {
    .container {
        max-width: 1100px;
        padding: 0 30px;
    }

    .hero {
        min-height: 550px;
    }

    .hero-content {
        max-width: 700px;
        padding: 0 30px;
    }

    .features-grid,
    .services-grid,
    .solutions-grid {
        gap: 1.75rem;
    }

    .about-content,
    .service-detail {
        gap: 3.5rem;
    }

    .features,
    .about-preview,
    .services-preview,
    .profile-section,
    .services-main,
    .solutions-main,
    .contact-section {
        padding: 45px 0;
    }
}

/* Tablets and Small Laptops (768px - 1024px) */
@media (max-width: 1024px) {
    .container {
        max-width: 900px;
        padding: 0 25px;
    }

    .hero {
        min-height: 500px;
    }

    .hero-content {
        max-width: 650px;
        padding: 0 25px;
    }

    .page-header {
        padding: 60px 0;
    }

    .about-content,
    .service-detail {
        gap: 2.5rem;
    }

    .features-grid,
    .services-grid,
    .solutions-grid,
    .values-grid,
    .leadership-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .feature-card,
    .service-card,
    .solution-card {
        padding: 1.5rem;
    }

    .features,
    .about-preview,
    .services-preview,
    .profile-section,
    .services-main,
    .solutions-main,
    .contact-section {
        padding: 40px 0;
    }

    .btn {
        padding: 11px 26px;
        font-size: 0.95rem;
    }

    .contact-wrapper {
        gap: 2rem;
    }

    .contact-form-wrapper {
        padding: 2rem;
    }

    .info-card {
        padding: 1.25rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

/* Mobile Tablets (768px and below) */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
        padding: 2rem 0;
        z-index: 1000;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex !important;
        z-index: 1001;
        position: relative;
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(255, 107, 53, 0.3);
        pointer-events: auto;
        user-select: none;
        -webkit-user-select: none;
        touch-action: manipulation;
    }
    
    .hamburger:active {
        transform: scale(0.95);
    }
    
    .hamburger:hover {
        opacity: 0.8;
    }

    .nav-brand .logo {
        height: 40px;
        max-width: 150px;
    }

    .hero {
        min-height: 450px;
    }

    .hero-content {
        max-width: 90%;
        padding: 0 20px;
    }

    .hero h1 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .hero p {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
    }

    .section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .about-content,
    .service-detail,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .service-detail.reverse {
        direction: ltr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
        padding: 14px 30px;
        font-size: 1rem;
        min-height: 48px; /* Better touch target */
    }

    .mv-grid {
        grid-template-columns: 1fr;
    }

    .custom-benefits {
        grid-template-columns: 1fr;
    }

    /* Mobile WhatsApp Button */
    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }

    /* Mobile Scroll to Top Button */
    .scroll-to-top {
        width: 48px;
        height: 48px;
        bottom: 20px;
        left: 20px;
    }

    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }

    /* Improve touch targets */
    .nav-menu a {
        padding: 1rem 0;
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
    }

    /* Better spacing on mobile */
    .container {
        padding: 0 16px;
    }

    .features-grid,
    .services-grid,
    .solutions-grid,
    .values-grid,
    .leadership-grid {
        gap: 1.5rem;
    }

    .feature-card,
    .service-card,
    .solution-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 0.95rem;
        padding: 0 10px;
    }

    .page-header h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .page-header p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 2rem;
    }

    .contact-form-wrapper {
        padding: 1.5rem 1rem;
    }

    .map-container {
        height: 300px;
        border-radius: 8px;
    }

    /* Better mobile spacing */
    .features,
    .about-preview,
    .services-preview,
    .profile-section,
    .services-main,
    .solutions-main,
    .contact-section {
        padding: 40px 0;
    }

    /* Mobile typography */
    h2 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    h3 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* WhatsApp button smaller on very small screens */
    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }

    /* Better button sizing */
    .btn {
        font-size: 0.95rem;
        padding: 12px 24px;
    }

    /* Info cards mobile */
    .info-card {
        padding: 1.25rem;
        gap: 1rem;
    }

    .whatsapp-btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
    }

    /* Spam protection mobile */
    .captcha-group {
        padding: 1.25rem;
    }

    .captcha-group input[type="number"] {
        max-width: 100%;
        font-size: 1rem;
    }

    .checkbox-label {
        font-size: 0.9rem;
    }

    .checkbox-label input[type="checkbox"] {
        width: 18px;
        height: 18px;
    }
}

/* Touch optimization */
@media (hover: none) and (pointer: coarse) {
    a, button, .btn {
        -webkit-tap-highlight-color: rgba(255, 107, 53, 0.3);
    }

    .whatsapp-float {
        -webkit-tap-highlight-color: rgba(37, 211, 102, 0.3);
    }
}

/* Medium Tablets (600px - 768px) */
@media (max-width: 768px) and (min-width: 600px) {
    .container {
        padding: 0 20px;
    }

    .hero-content {
        max-width: 85%;
    }

    .features-grid,
    .services-grid,
    .solutions-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1.25rem;
    }
}

/* Landscape mobile optimization */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 400px;
        height: auto;
        padding: 50px 0;
    }

    .hero h1 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .nav-menu {
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
}

