/* style.css (High-End & Super Modern) */

/* Basic Reset and Box-Sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth; /* For smooth scrolling on internal links */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Modern, clean font */
    line-height: 1.7;
    background-color: #f9f9f9; /* Light, modern background */
    color: #333;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px; /* Increased padding for a more spacious feel */
}

/* Typography */
h1, h2, h3 {
    color: #222;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 {
    font-size: 3.0em;
}

h2 {
    font-size: 2.2em;
}

h3 {
    font-size: 1.6em;
}

p {
    color: #555;
    font-size: 1.1em;
    margin-bottom: 25px;
}

a {
    text-decoration: none;
    color: #007bff; /* Primary accent color */
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.95); /* Slightly transparent white */
    padding: 30px 0;
    border-bottom: 1px solid #eee;
    position: sticky; /* Stick to the top on scroll */
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 2.2em;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #333;
    font-weight: 500;
    font-size: 1.1em;
    padding: 10px 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #007bff;
    transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after { /* Optional: Style for active link */
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 120px 0;
    background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%); /* Subtle gradient */
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    padding-right: 60px;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #222;
}

.hero p {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 35px;
}

.hero-buttons a {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.hero-buttons .primary {
    background-color: #007bff;
    color: #fff;
    margin-right: 15px;
}

.hero-buttons .secondary {
    background-color: transparent;
    color: #333;
    border: 1px solid #333;
}

.hero-buttons .primary:hover {
    background-color: #0056b3;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
}

.hero-buttons .secondary:hover {
    background-color: #f0f0f0;
    color: #222;
    border-color: #222;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* About Snippet */
.about-snippet {
    padding: 80px 0;
    background-color: #fff;
}

.about-snippet h2 {
    font-size: 2.5em;
    color: #222;
    margin-bottom: 30px;
    text-align: center;
}

.about-snippet p {
    color: #555;
    font-size: 1.2em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Services Overview */
.services-overview {
    padding: 90px 0;
    background-color: #f4f4f4;
}

.services-overview h2 {
    font-size: 2.5em;
    color: #222;
    margin-bottom: 40px;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.service-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.service-item img {
    max-width: 90px;
    height: auto;
    margin-bottom: 20px;
    opacity: 0.8;
}

.service-item h3 {
    font-size: 1.8em;
    color: #222;
    margin-bottom: 15px;
}

.service-item p {
    color: #555;
    margin-bottom: 20px;
}

.service-item a {
    display: inline-block;
    text-decoration: none;
    color: #007bff;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-item a:hover {
    color: #0056b3;
}

/* Why Choose Us */
.why-choose-us {
    padding: 50px 0;
    background-color: #fff;
}

.why-choose-us h2 {
    font-size: 2.5em;
    color: #222;
    margin-bottom: 40px;
    text-align: center;
}

.why-choose-us ul {
    list-style: none;
    padding-left: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.why-choose-us ul li {
    margin-bottom: 25px;
    color: #555;
    font-size: 1.2em;
    display: flex;
    align-items: center;
}

.why-choose-us ul li::before {
    content: '\2713'; /* Checkmark icon */
    display: inline-block;
    width: 25px;
    height: 25px;
    background-color: #007bff;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 25px;
    margin-right: 15px;
}

.why-choose-us ul li strong {
    color: #222;
    font-weight: 600;
}

/* About Page */
.marco-profile ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #555;
}

.marco-profile ul li {
    display: grid;
    grid-template-columns: 200px 1fr; /* Left = label (fixed), Right = description (flexible) */
    align-items: start;
    gap: 1rem;
    padding: 10px;
    margin-bottom: 10px;
    font-size: 1.1em;
    background: white;
    border-radius: 8px;
    transition: background 0.3s, box-shadow 0.3s;
}

.marco-profile ul li:hover {
    background: #f0f0f0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.marco-profile ul li .label {
    font-weight: 600;
    color: #222;
    text-align: right;
}

.marco-profile ul li .description {
    text-align: left;
    overflow-wrap: break-word; /* Make sure long texts wrap properly */
}




/* Services Page */
.services-page {
    padding: 90px 0;
    background-color: #f4f4f4;
}

.services-page h1 {
    font-size: 3.0em;
    color: #222;
    margin-bottom: 40px;
    text-align: center;
}

.service-detail {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-detail:nth-child(even) {
    grid-template-columns: 1fr 1fr;
    direction: rtl; /* Reverse order for even items */
}

.service-detail > * {
    direction: ltr; /* Reset text direction inside reversed container */
}

.service-image {
    text-align: center;
}

.service-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.service-content h2 {
    font-size: 2.2em;
    color: #222;
    margin-bottom: 20px;
}

.service-content p {
    color: #555;
    font-size: 1.15em;
    margin-bottom: 30px;
    line-height: 1.8;
}

.service-content h3 {
    font-size: 1.4em;
    color: #222;
    margin-top: 25px;
    margin-bottom: 15px;
}

.service-content ul {
    list-style: none;
    padding-left: 0;
    color: #555;
}

.service-content ul li {
    margin-bottom: 10px;
    font-size: 1.1em;
    position: relative;
    padding-left: 25px;
}

.service-content ul li::before {
    content: '\2022'; /* Bullet point */
    position: absolute;
    left: 0;
    top: 5px;
    color: #007bff;
    font-size: 1.2em;
}

/* Contact Page */
.contact-page {
    padding: 90px 0;
    background-color: #f4f4f4;
}

.contact-page h1 {
    font-size: 3.0em;
    color: #222;
    margin-bottom: 40px;
    text-align: center;
}

.contact-page p {
    color: #555;
    font-size: 1.2em;
    margin-bottom: 40px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #222;
    font-size: 1.1em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1.1em;
    transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form button[type="submit]
}

h2 {
    text-align: center;
}