/* Base Styles */
:root {
    --color-primary: #059669;
    --color-primary-dark: #047857;
    --color-secondary: #d97706;
    --color-accent: #dc2626;
    --color-background: #f9fafb;
    --color-text: #1f2937;
    --color-text-light: #6b7280;
    --color-border: #e5e7eb;
    --color-white: #ffffff;
    --color-success: #10b981;
    --color-error: #ef4444;
    --font-family: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --border-radius: 1rem;
    
    /* Header colors */
    --header-bg: rgba(255, 255, 255, 0.95);
    --header-text: var(--color-text);
    --header-border: var(--color-border);
    
    /* Title colors - using emerald green */
    --title-color: #047857;
    
    /* Hero section - warm gradient */
    --hero-bg-gradient: linear-gradient(135deg, rgba(5, 150, 105, 0.1), rgba(217, 119, 6, 0.08));
}

/* Dark mode variables */
.dark-mode {
    --color-primary: #10b981;
    --color-primary-dark: #059669;
    --color-secondary: #f59e0b;
    --color-accent: #f87171;
    --color-background: #111827;
    --color-text: #f3f4f6;
    --color-text-light: #9ca3af;
    --color-border: #374151;
    --color-white: #1f2937;
    --color-success: #10b981;
    --color-error: #ef4444;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    
    /* Header colors */
    --header-bg: rgba(31, 41, 55, 0.95);
    --header-text: var(--color-text);
    --header-border: var(--color-border);
    
    /* Title color for dark mode */
    --title-color: #10b981;
    
    /* Hero section */
    --hero-bg-gradient: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(245, 158, 11, 0.15));
}

/* Prevent automatic dark mode */
@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: light;
    }
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--color-text);
    background-color: var(--color-background);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-white);
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-secondary));
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(5, 150, 105, 0.3);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(249, 250, 251, 0.95));
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
}

.logo {
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 3rem;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.nav-desktop {
    display: none;
}

.nav-link {
    margin-left: 2rem;
    color: var(--color-text-light);
    font-weight: 500;
}

.nav-link:hover, .nav-link.active {
    color: var(--color-primary);
}

.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-icon {
    position: relative;
    width: 1.5rem;
    height: 2px;
    background-color: var(--header-text);
    transition: var(--transition);
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 1.5rem;
    height: 2px;
    background-color: var(--header-text);
    transition: var(--transition);
}

.menu-icon::before {
    top: -8px;
}

.menu-icon::after {
    bottom: -8px;
}

.menu-toggle.active .menu-icon {
    background-color: transparent;
}

.menu-toggle.active .menu-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle.active .menu-icon::after {
    bottom: 0;
    transform: rotate(-45deg);
}

.nav-mobile {
    display: none;
    background-color: var(--color-white);
    padding: 1rem 0;
    border-top: 1px solid var(--color-border);
}

.nav-mobile.active {
    display: block;
}

.nav-mobile-content {
    display: flex;
    flex-direction: column;
}

.nav-mobile .nav-link {
    margin: 0.5rem 0;
    padding: 0.5rem 0;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    
    .menu-toggle {
        display: none;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--hero-bg-gradient);
    overflow: hidden;
    padding: 0;
}

.hero .container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(5, 150, 105, 0.1) 0%, transparent 60%),
                radial-gradient(circle at 70% 30%, rgba(217, 119, 6, 0.08) 0%, transparent 60%);
    z-index: 1;
}

.shapes-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: -1;
}

/* Rhomboid shapes instead of elegant shapes */
.rhomboid-shape {
    position: absolute;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.1), rgba(217, 119, 6, 0.05));
    border-radius: 20px;
    transform: rotate(45deg);
    animation: floatEnhanced 6s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(5, 150, 105, 0.1);
}

.rhomboid-shape::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.2), transparent);
    border-radius: 50%;
}

.shape-1 {
    width: 600px;
    height: 140px;
    left: -10%;
    top: 15%;
    background: linear-gradient(to right, rgba(59, 130, 246, 0.25), transparent);
    animation-delay: 0.3s;
    transform: rotate(12deg);
}

.shape-2 {
    width: 500px;
    height: 120px;
    right: -5%;
    top: 70%;
    background: linear-gradient(to right, rgba(139, 92, 246, 0.25), transparent);
    animation-delay: 0.5s;
    transform: rotate(-15deg);
}

.shape-3 {
    width: 300px;
    height: 80px;
    left: 5%;
    bottom: 5%;
    background: linear-gradient(to right, rgba(20, 184, 166, 0.25), transparent);
    animation-delay: 0.4s;
    transform: rotate(-8deg);
}

.shape-4 {
    width: 200px;
    height: 60px;
    right: 15%;
    top: 10%;
    background: linear-gradient(to right, rgba(245, 158, 11, 0.25), transparent);
    animation-delay: 0.6s;
    transform: rotate(20deg);
}

.shape-5 {
    width: 150px;
    height: 40px;
    left: 20%;
    top: 5%;
    background: linear-gradient(to right, rgba(16, 185, 129, 0.25), transparent);
    animation-delay: 0.7s;
    transform: rotate(-25deg);
}

@keyframes floatEnhanced {
    0%, 100% {
        transform: rotate(45deg) translateY(0px) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: rotate(45deg) translateY(-20px) scale(1.1);
        opacity: 0.8;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    width: 100%;
    text-align: center;
    padding: 2rem 1rem;
    animation: fadeUpStagger 1s ease-out;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.title-part-1,
.title-part-2 {
    display: block;
    color: var(--title-color);
}

.title-part-2 {
    margin-top: 0.5rem;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes fadeUpStagger {
    0% {
        opacity: 0;
        transform: translateY(60px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* What We Do Section */
.what-we-do {
    padding: 8rem 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(249, 250, 251, 0.9));
    position: relative;
}

.what-we-do::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23059669' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    z-index: 1;
}

.what-we-do .container {
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 2px;
}

.section-description {
    font-size: 1.125rem;
    color: var(--color-text-light);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.service-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(5, 150, 105, 0.05), transparent);
    transition: var(--transition);
}

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

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(5, 150, 105, 0.15);
    border-color: var(--color-primary);
}

/* Staggered animation for service cards */
.service-card:nth-child(1) {
    animation: slideInUp 0.6s ease-out 0.1s both;
}

.service-card:nth-child(2) {
    animation: slideInUp 0.6s ease-out 0.2s both;
}

.service-card:nth-child(3) {
    animation: slideInUp 0.6s ease-out 0.3s both;
}

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-icon {
    display: flex;
    justify-content: center;
    margin: 0 auto 1.5rem;
    width: 3rem;
    height: 3rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    padding: 0.5rem;
    border-radius: 50%;
    background-color: rgba(5, 150, 105, 0.1);
}

.icon-briefcase {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23059669'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 13.255A23.931 23.931 0 0112 15c-3.183 0-6.22-.62-9-1.745M16 6V4a2 2 0 00-2-2h-4a2 2 0 00-2 2v2m4 6h.01M5 20h14a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z'%3E%3C/path%3E%3C/svg%3E");
}

.icon-chart {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23059669'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z'%3E%3C/path%3E%3C/svg%3E");
}

.icon-award {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23059669'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 12l2 2 4-4M7.835 4.697a3.42 3.42 0 001.946-.806 3.42 3.42 0 014.438 0 3.42 3.42 0 001.946.806 3.42 3.42 0 013.138 3.138 3.42 3.42 0 00.806 1.946 3.42 3.42 0 010 4.438 3.42 3.42 0 00-.806 1.946 3.42 3.42 0 01-3.138 3.138 3.42 3.42 0 00-1.946.806 3.42 3.42 0 01-4.438 0 3.42 3.42 0 00-1.946-.806 3.42 3.42 0 01-3.138-3.138 3.42 3.42 0 00-.806-1.946 3.42 3.42 0 010-4.438 3.42 3.42 0 00.806-1.946 3.42 3.42 0 013.138-3.138z'%3E%3C/path%3E%3C/svg%3E");
}

.service-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.service-description {
    color: var(--color-text-light);
    line-height: 1.7;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    color: var(--color-primary);
    font-weight: 500;
}

.link-arrow::after {
    content: '→';
    margin-left: 0.5rem;
    transition: var(--transition);
}

.link-arrow:hover::after {
    transform: translateX(4px);
}

/* Newsletter Section */
.newsletter {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.08), rgba(217, 119, 6, 0.05));
    position: relative;
    z-index: 1;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23059669' fill-opacity='0.03' fill-rule='evenodd'%3E%3Cpath d='m0 40l40-40h-40z'/%3E%3C/g%3E%3C/svg%3E") repeat;
    z-index: -1;
    pointer-events: none;
}

.newsletter-form {
    max-width: 32rem;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 10;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
    background-color: var(--color-white);
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.form-group input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.2);
    outline: none;
}

.form-group button {
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.form-message {
    margin-top: 0.75rem;
    font-size: 0.875rem;
}

.form-message.success {
    color: var(--color-success);
}

.form-message.error {
    color: var(--color-error);
}

.icon-send {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    margin-left: 0.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M14 5l7 7m0 0l-7 7m7-7H3'%3E%3C/path%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

@media (max-width: 640px) {
    .form-group {
        width: 100%;
    }

    .form-group input,
    .form-group button {
        width: 100%;
        margin: 0;
    }
}

@media (min-width: 641px) {
    .form-group {
        flex-direction: row;
        justify-content: center;
    }

    .form-group input {
        max-width: 320px;
        margin-right: 1rem;
    }
}

/* Footer */
.footer {
    background-color: var(--color-white);
    border-top: 1px solid var(--color-border);
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 2.5rem;
    width: auto;
}

.footer-text {
    color: var(--color-text-light);
    font-size: 0.875rem;
    max-width: 20rem;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--color-text-light);
    font-size: 0.875rem;
}

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

.contact-info .contact-item {
    display: flex;
    margin-bottom: 0.75rem;
}

.icon {
    display: inline-block;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

.icon-map {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%233b82f6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z'%3E%3C/path%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 11a3 3 0 11-6 0 3 3 0 016 0z'%3E%3C/path%3E%3C/svg%3E");
}

.icon-phone {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%233b82f6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 5a2 2 0 012-2h3.28a1 1 0 01.948.684l1.498 4.493a1 1 0 01-.502 1.21l-2.257 1.13a11.042 11.042 0 005.516 5.516l1.13-2.257a1 1 0 011.21-.502l4.493 1.498a1 1 0 01.684.949V19a2 2 0 01-2 2h-1C9.716 21 3 14.284 3 6V5z'%3E%3C/path%3E%3C/svg%3E");
}

.icon-mail {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%233b82f6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z'%3E%3C/path%3E%3C/svg%3E");
}

.contact-info span {
    color: var(--color-text-light);
    font-size: 0.875rem;
}

.contact-info a {
    color: var(--color-text-light);
    font-size: 0.875rem;
}

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

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 1.5rem;
    text-align: center;
}

.copyright {
    color: var(--color-text-light);
    font-size: 0.875rem;
}

/* Page Hero */
.page-hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--hero-bg-gradient));
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(5, 150, 105, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(217, 119, 6, 0.08) 0%, transparent 50%);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    word-wrap: break-word;
    hyphens: auto;
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Mobile responsive adjustments */
@media (max-width: 640px) {
    .page-title {
        font-size: 1.875rem;
        line-height: 1.3;
        padding: 0 0.5rem;
    }
    
    .page-hero-content {
        padding: 0 0.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
    
    .form-group {
        width: 100%;
    }

    .form-group input,
    .form-group button {
        width: 100%;
        margin: 0;
    }
}

@media (min-width: 641px) and (max-width: 768px) {
    .page-title {
        font-size: 2.25rem;
        line-height: 1.25;
    }
}

/* About Page */
.about-content {
    padding: 4rem 0;
}

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

.about-text p {
    margin-bottom: 1.5rem;
}

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 400px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services-section {
    padding: 5rem 0;
    background-color: var(--color-background);
}

.service-box {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.service-box:hover {
    box-shadow: var(--shadow-lg);
}

.service-box .service-icon {
    margin: 0 auto 1rem;
}

.values-section {
    padding: 5rem 0;
}

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

.value-item {
    border-left: 4px solid var(--color-primary);
    padding-left: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.value-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.value-description {
    color: var(--color-text-light);
}

/* Contact Page */
.contact-content {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-box {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    height: 100%;
}

.contact-heading {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.contact-text {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
}

.contact-detail-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.contact-detail-text {
    color: var(--color-text-light);
    font-size: 0.875rem;
}

.contact-detail-link {
    color: var(--color-text-light);
    font-size: 0.875rem;
    transition: var(--transition);
}

.contact-detail-link:hover {
    color: var(--color-primary);
}

.contact-form-container {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    height: 100%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    font-family: var(--font-family);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.map-section {
    padding: 3rem 0;
    background-color: var(--color-background);
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 400px;
}

#google-map {
    width: 100%;
    height: 100%;
}

/* Contact Form Specific Styles */
.contact-form .form-group {
    width: 100%;
    align-items: flex-start; /* Align items to the start instead of center */
}

.contact-form .form-group input,
.contact-form .form-group textarea {
    width: 100%; /* Ensure all inputs and textareas have 100% width */
}

/* Override the newsletter form styles for contact form */
.contact-form .form-group {
    flex-direction: column; /* Always keep inputs in column format */
}

.contact-form .form-group input {
    max-width: 100%; /* Override any max-width constraints */
    margin-right: 0; /* Remove any right margin */
}


@media (max-width: 640px) {
    .form-group {
        width: 100%;
    }

    .form-group input,
    .form-group button {
        width: 100%;
        margin: 0;
    }
}

@media (min-width: 641px) {
    .form-group {
        flex-direction: row;
        justify-content: center;
    }

    .form-group input {
        max-width: 320px;
        margin-right: 1rem;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 5rem;
    }
    
    .page-title {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 6rem;
    }
    
    .page-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 767px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Add more spacing for the call-to-action section */
.what-we-do .text-center {
    margin-top: 3rem;
    padding-top: 2rem;
}