/* Mars Turnkey Professional Color Scheme & Responsive Design */
:root {
    --primary-color: #1e3a5f;       /* Deep Navy Blue */
    --primary-light: #2d4f7a;       /* Lighter navy for hover states */
    --secondary-color: #5a6c7d;     /* Steel Gray */
    --accent-color: #c43b1f;        /* Mars Red */
    --accent-light: #e74c3c;        /* Lighter Mars Red */
    --accent-contrast: #1e3a5f;     /* Dark navy for contrast */
    --text-dark: #1b2a3f;           /* Near black for text */
    --text-medium: #4a5568;         /* Medium gray for text */
    --text-light: #ffffff;          /* White */
    --background-light: #f7f9fc;    /* Very light blue-gray */
    --background-dark: #1e3a5f;     /* Navy background */
    --border-color: #e0e8f0;        /* Light border color */
    --success-color: #1abc9c;       /* Teal */
    --shadow-soft: 0 4px 12px rgba(30, 58, 95, 0.08);
    --shadow-medium: 0 8px 24px rgba(196, 59, 31, 0.12);
    --shadow-strong: 0 12px 36px rgba(30, 58, 95, 0.15);
    --shadow-inset: inset 0 1px 3px rgba(0, 0, 0, 0.05);
    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-medium);
    background-color: var(--background-light);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* Modern Typographic Scale */
h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.2; }
h2 { font-size: 2.8rem; font-weight: 700; line-height: 1.2; }
h3 { font-size: 1.8rem; font-weight: 600; line-height: 1.3; }
h4 { font-size: 1.4rem; font-weight: 600; line-height: 1.4; }

p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-header h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    font-weight: 800;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
    border-radius: 3px;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-medium);
    max-width: 700px;
    margin: 25px auto 0;
    font-weight: 400;
}

/* Modern Button Styles */
.btn {
    display: inline-block;
    padding: 15px 36px;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-align: center;
    box-shadow: var(--shadow-soft);
    font-size: 0.9rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.15);
    transition: all 0.3s;
    z-index: -1;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--text-light);
    border: none;
}

.btn-primary:hover {
    box-shadow: 0 8px 24px rgba(30, 58, 95, 0.35);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2.5px solid var(--primary-color);
    font-weight: 700;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(30, 58, 95, 0.25);
}

/* ============= HEADER SECTION ============= */
header {
    background-color: rgba(255, 255, 255, 0.99);
    box-shadow: var(--shadow-soft);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: var(--transition-normal);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 4px solid var(--accent-color);
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-medium);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-normal);
    flex-shrink: 0;
}

.logo-icon i {
    font-size: 1.8rem;
    color: var(--text-light);
    transition: var(--transition-normal);
}

.logo-icon:hover {
    transform: scale(1.08) rotate(-5deg);
    box-shadow: var(--shadow-medium);
}

.logo-icon:hover i {
    color: var(--accent-light);
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.logo-brand {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    text-transform: uppercase;
    line-height: 1;
}

.logo-tagline {
    font-size: 0.65rem;
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.nav-links li a {
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
    padding: 8px 0;
    font-size: 0.95rem;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--accent-color);
    transition: var(--transition-normal);
    border-radius: 2px;
}

.nav-links li a:hover {
    color: var(--accent-color);
}

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

.btn-contact {
    background: var(--accent-color);
    color: var(--text-light) !important;
    padding: 10px 28px !important;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(196, 59, 31, 0.25);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-left: 15px;
    border: none;
}

.btn-contact:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(196, 59, 31, 0.4);
    background: var(--accent-light);
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 8px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -8px);
}

/* ============= HERO SECTION ============= */
.hero {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.85), rgba(90, 108, 125, 0.85)), url('assets/Gemini_Generated_Image_wn3bhkwn3bhkwn3b.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--text-light);
    position: relative;
    margin-top: 95px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(196, 59, 31, 0.12), rgba(26, 188, 156, 0.08));
    animation: gradientFlow 12s infinite alternate;
    z-index: 1;
}

@keyframes gradientFlow {
    0% { opacity: 0.15; }
    50% { opacity: 0.35; }
    100% { opacity: 0.15; }
}

.hero .container {
    position: relative;
    z-index: 2;
    padding: 60px 20px;
}

.hero-content {
    max-width: 850px;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards 0.5s ease-out;
}

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

.hero-content h1 {
    margin-bottom: 25px;
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.hero-content h1 span {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
    font-weight: 900;
}

.hero-content h1 span::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: rgba(196, 59, 31, 0.2);
    z-index: -1;
    border-radius: 3px;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 700px;
    font-weight: 400;
    line-height: 1.8;
}

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

/* ============= SERVICES SECTION ============= */
.services {
    padding: 120px 0;
    background-color: var(--background-light);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background-color: rgba(196, 59, 31, 0.06);
    border-radius: 50%;
    z-index: 0;
}

.services::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background-color: rgba(30, 58, 95, 0.04);
    border-radius: 50%;
    z-index: 0;
}

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

.service-card {
    background-color: var(--text-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    padding: 45px 35px;
    transition: var(--transition-slow);
    text-align: center;
    position: relative;
    z-index: 1;
    border: 1px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    transition: var(--transition-normal);
    transform: scaleX(0);
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-medium);
    border-color: rgba(196, 59, 31, 0.15);
}

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

.service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, rgba(196, 59, 31, 0.12), rgba(30, 58, 95, 0.12));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    transition: var(--transition-normal);
    border: 2px solid rgba(196, 59, 31, 0.1);
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(-5deg);
    background: linear-gradient(135deg, rgba(196, 59, 31, 0.2), rgba(30, 58, 95, 0.2));
    border-color: var(--accent-color);
}

.service-icon i {
    font-size: 2.4rem;
    color: var(--primary-color);
    transition: var(--transition-normal);
}

.service-card:hover .service-icon i {
    color: var(--accent-color);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 18px;
    color: var(--text-dark);
    transition: var(--transition-normal);
    font-weight: 700;
}

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

.service-card p {
    color: var(--text-medium);
    transition: var(--transition-normal);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ============= CTA SECTION ============= */
.cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(196, 59, 31, 0.15), transparent 50%), radial-gradient(circle at 80% 80%, rgba(26, 188, 156, 0.1), transparent 50%);
    z-index: 1;
}

.cta .container {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.cta p {
    font-size: 1.15rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.cta .btn-primary {
    background-color: var(--text-light);
    color: var(--primary-color);
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    font-weight: 800;
}

.cta .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.95);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

/* ============= PROJECTS SECTION ============= */
.projects {
    padding: 120px 0;
    background-color: var(--background-light);
    position: relative;
}

.project-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
}

.filter-btn {
    background: none;
    border: 2px solid var(--border-color);
    padding: 12px 28px;
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: 6px;
    transition: var(--transition-normal);
    font-weight: 600;
    color: var(--text-dark);
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(30, 58, 95, 0.2);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: var(--text-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-slow);
    position: relative;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-strong);
}

.project-img {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.project-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 40%, rgba(30, 58, 95, 0.7) 100%);
    opacity: 0;
    transition: var(--transition-normal);
    z-index: 2;
}

.project-card:hover .project-img::after {
    opacity: 1;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.project-card:hover .project-img img {
    transform: scale(1.1);
}

.project-info {
    padding: 35px;
    position: relative;
    background-color: var(--text-light);
    transition: var(--transition-normal);
    z-index: 3;
}

.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    transition: var(--transition-normal);
    font-weight: 700;
}

.project-card:hover .project-info h3 {
    color: var(--accent-color);
}

.project-info p {
    color: var(--text-medium);
    margin-bottom: 18px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.project-location {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-location::before {
    content: '\f3c5';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 8px;
    font-size: 0.8rem;
}

/* ============= ABOUT SECTION ============= */
.about {
    padding: 120px 0;
    background: linear-gradient(180deg, #f7f9fc 0%, #eef2f8 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(196, 59, 31, 0.04) 0%, rgba(30, 58, 95, 0) 70%);
    border-radius: 50%;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-text {
    position: relative;
}

.about-text p {
    margin-bottom: 25px;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-medium);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.stat {
    text-align: center;
    padding: 35px 20px;
    border-radius: 12px;
    background-color: var(--text-light);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    border-left: 5px solid transparent;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    transition: var(--transition-normal);
}

.stat:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.stat-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--accent-color);
    margin-bottom: 8px;
    position: relative;
    letter-spacing: -1px;
}

.stat-label {
    color: var(--text-medium);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    position: relative;
    transform: perspective(1000px) rotateY(-3deg);
    transition: var(--transition-slow);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(196, 59, 31, 0.2), transparent);
    z-index: 1;
    opacity: 0;
    transition: var(--transition-normal);
}

.about-image:hover::before {
    opacity: 1;
}

.about-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    z-index: 2;
    text-align: center;
}

.about-image-placeholder i {
    font-size: 5rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.about-image-placeholder p {
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.9;
}

/* ============= TESTIMONIALS SECTION ============= */
.testimonials {
    padding: 120px 0;
    background-color: var(--background-light);
    position: relative;
}

.testimonial-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial {
    background-color: var(--text-light);
    border-radius: 12px;
    padding: 50px 45px;
    box-shadow: var(--shadow-medium);
    text-align: center;
    position: relative;
    transition: var(--transition-normal);
    border-top: 4px solid var(--accent-color);
}

.testimonial::before {
    content: '\201C';
    font-family: Georgia, serif;
    position: absolute;
    top: 25px;
    left: 30px;
    font-size: 4.5rem;
    color: rgba(196, 59, 31, 0.15);
    line-height: 1;
}

.testimonial-content {
    margin-bottom: 30px;
    position: relative;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-medium);
    font-style: italic;
    font-weight: 400;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-weight: 700;
}

.testimonial-author span {
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonial-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
    gap: 20px;
}

.prev-btn, .next-btn {
    background-color: var(--text-light);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 6px;
    cursor: pointer;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-normal);
    font-weight: 600;
    font-size: 1.1rem;
}

.prev-btn:hover, .next-btn:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(30, 58, 95, 0.25);
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
}

.dot.active {
    background-color: var(--accent-color);
    transform: scale(1.3);
}

/* ============= PROCESS SECTION ============= */
.process {
    padding: 120px 0;
    background: linear-gradient(180deg, #f7f9fc 0%, #eef2f8 100%);
    position: relative;
    overflow: hidden;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.process-step {
    background-color: var(--text-light);
    border-radius: 12px;
    padding: 45px 35px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    position: relative;
    transition: var(--transition-slow);
    border: 1px solid transparent;
}

.process-step:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-medium);
    border-color: rgba(196, 59, 31, 0.15);
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: var(--text-light);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 900;
    margin: 0 auto 25px;
    position: relative;
    z-index: 2;
    transition: var(--transition-normal);
    box-shadow: 0 8px 20px rgba(196, 59, 31, 0.2);
}

.process-step:hover .step-number {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 12px 30px rgba(196, 59, 31, 0.3);
}

.step-content h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.3rem;
    transition: var(--transition-normal);
    font-weight: 700;
}

.process-step:hover .step-content h3 {
    color: var(--accent-color);
}

.step-content p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============= CONTACT SECTION ============= */
.contact {
    padding: 120px 0;
    background-color: var(--background-light);
    position: relative;
}

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

.contact-form {
    background-color: var(--text-light);
    padding: 50px 45px;
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
    border-top: 5px solid var(--accent-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: var(--transition-normal);
    background-color: #f9fafc;
    color: var(--text-dark);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(30, 58, 95, 0.1);
    background-color: var(--text-light);
}

.contact-form .btn-primary {
    width: 100%;
    padding: 16px;
    font-size: 1rem;
    margin-top: 15px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 35px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    transition: var(--transition-normal);
    padding: 20px;
    border-radius: 8px;
    background-color: rgba(196, 59, 31, 0.05);
}

.info-item:hover {
    transform: translateX(10px);
    background-color: rgba(196, 59, 31, 0.1);
}

.info-content h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 700;
}

.info-content p {
    color: var(--text-medium);
    margin: 0;
    font-size: 0.95rem;
}

.info-content i {
    color: var(--accent-color);
    margin-right: 15px;
    font-size: 1.3rem;
}

/* ============= FOOTER SECTION ============= */
footer {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    padding: 80px 0 30px;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo p {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.95;
    line-height: 1.8;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
}

.footer-column h4 {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    transition: var(--transition-normal);
}

.footer-column ul a:hover {
    color: var(--text-light);
    padding-left: 5px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    transition: var(--transition-normal);
}

.footer-legal a:hover {
    color: var(--text-light);
}

/* ============= ANIMATIONS ============= */
.animate-in {
    animation: slideInUp 0.6s ease-out forwards;
}

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

/* ============= RESPONSIVE DESIGN ============= */

/* Tablets (992px and below) */
@media screen and (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    
    .about-content, .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Tablets (769px - 992px) */
@media screen and (max-width: 768px) {
    /* Typography */
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.4rem; }
    p { font-size: 1rem; }
    
    header .container {
        padding: 12px 15px;
    }
    
    .logo-brand {
        font-size: 1.3rem;
    }
    
    .logo-tagline {
        font-size: 0.6rem;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 75%;
        max-width: 300px;
        background: var(--text-light);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 80px 30px 40px;
        transition: right 0.4s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.15);
        z-index: 999;
        gap: 20px;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 15px;
    }
    
    .nav-links li a {
        font-size: 1rem;
        padding: 8px 0;
    }
    
    .btn-contact {
        width: 100%;
        margin: 15px 0 0 0;
        text-align: center;
    }
    
    .hamburger {
        display: flex;
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    /* Hero */
    .hero {
        margin-top: 70px;
        min-height: 90vh;
        padding: 80px 0;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 1.9rem;
        margin-bottom: 20px;
    }
    
    .hero-content p {
        font-size: 1.05rem;
        margin-bottom: 30px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    /* Services */
    .services {
        padding: 80px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2::after {
        width: 70px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    /* CTA */
    .cta {
        padding: 70px 0;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
    
    .cta p {
        font-size: 1rem;
    }
    
    /* Projects */
    .projects {
        padding: 80px 0;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-img {
        height: 220px;
    }
    
    /* About */
    .about {
        padding: 80px 0;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat {
        padding: 25px 15px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .about-image {
        min-height: 300px;
    }
    
    /* Testimonials */
    .testimonials {
        padding: 80px 0;
    }
    
    .testimonial {
        padding: 30px 25px;
    }
    
    .testimonial-content p {
        font-size: 0.95rem;
    }
    
    /* Process */
    .process {
        padding: 80px 0;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }
    
    /* Contact */
    .contact {
        padding: 80px 0;
    }
    
    .contact-form {
        padding: 35px 25px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .contact-info {
        gap: 25px;
    }
    
    /* Footer */
    footer {
        padding: 60px 0 25px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 10px;
    }
}

/* Mobile (480px and below) */
@media screen and (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
    
    /* Header */
    header .container {
        padding: 8px 12px;
    }
    
    .logo-brand {
        font-size: 1.1rem;
    }
    
    .nav-links {
        width: 85%;
        padding-top: 70px;
    }
    
    /* Hero */
    .hero {
        margin-top: 60px;
        min-height: 85vh;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    /* Services */
    .services-grid {
        gap: 15px;
    }
    
    .service-card {
        padding: 25px 15px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
    }
    
    .service-icon i {
        font-size: 1.8rem;
    }
    
    /* Projects */
    .project-img {
        height: 180px;
    }
    
    .project-info {
        padding: 20px;
    }
    
    .project-info h3 {
        font-size: 1.1rem;
    }
    
    /* About */
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        min-height: 250px;
    }
    
    .about-image-placeholder i {
        font-size: 3rem;
    }
    
    /* Contact */
    .contact-form {
        padding: 25px 15px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 12px;
    }
    
    .contact-info {
        gap: 20px;
    }
    
    .info-item {
        padding: 15px;
        flex-direction: column;
    }
    
    .info-content i {
        margin-bottom: 10px;
        margin-right: 0;
    }
    
    /* Process */
    .step-number {
        width: 55px;
        height: 55px;
        font-size: 1.2rem;
    }
    
    /* Footer */
    .footer-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-column h4 {
        font-size: 0.9rem;
    }
}

/* Mobile Landscape (max-height: 500px landscape mode) */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 50px 0;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .nav-links {
        padding-top: 60px;
        padding-bottom: 20px;
    }
}

/* ============= FIX FOR SAFARI & iOS ============= */
@supports (-webkit-overflow-scrolling: touch) {
    .hero {
        background-attachment: scroll;
    }
    
    header {
        position: fixed;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

