/* Variables */
:root {
    --color-primary: #0a2e5e; /* Dark Blue */
    --color-secondary: #3cb371; /* Mint Green */
    --color-accent: #f0a500; /* Orange/Yellow for highlight */
    --color-text-dark: #333;
    --color-text-light: #666;
    --color-bg-light: #f8f8f8; /* Light Gray */
    --color-white: #fff;
    --color-gray-border: #ddd;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    --padding-section: 80px 0;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-white);
    scroll-behavior: smooth; /* Smooth scrolling */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: var(--padding-section);
}

.section-padding {
    padding: var(--padding-section);
}

.bg-light {
    background-color: var(--color-bg-light);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 20px;
}

h1 { font-size: 2.5em; }
h2 { font-size: 2em; text-align: center; margin-bottom: 40px; }
h3 { font-size: 1.5em; }

p {
    margin-bottom: 20px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1em;
    color: var(--color-text-light);
    margin-top: -30px;
    margin-bottom: 60px;
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
}

.btn-primary {
    background-color: var(--color-secondary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: #32a363; /* Darker shade */
}

.btn-secondary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-secondary:hover {
     background-color: #072248; /* Darker shade */
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.1em;
}

/* Header */
.site-header {
    background-color: var(--color-white);
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 40px; /* Adjust logo height */
}

.main-nav ul {
    display: flex;
}

.main-nav li {
    margin-left: 25px;
}

.main-nav a {
    color: var(--color-text-dark);
    font-weight: 600;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--color-secondary);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(to right, var(--color-primary), #1b4a8a); /* Gradient example */
    color: var(--color-white);
    padding: var(--padding-section);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-text {
    flex: 2; /* Give text more space on larger screens */
}

.hero-image {
    flex: 1; /* Give image less space on larger screens */
    max-width: 500px; /* Limit the maximum width of the image container */
    display: flex; /* Center image */
    justify-content: center;
    align-items: center;
}
.hero-image img {
     width: 100%;
     height: auto;
     max-height: 350px; /* Adjust max height */
     object-fit: contain; /* Ensure image fits well */
}


.hero-text h1 {
    color: var(--color-white);
    margin-bottom: 15px;
    font-size: 2.8em;
}

.hero-text p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

/* About Section */
.about-section .container {
    text-align: center; /* Center align title and subtitle */
}

.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px; /* Add space below subtitle */
    text-align: left; /* Reset text alignment for content */
}

.about-image {
    flex: 1;
    display: flex; /* Use flex to center the image */
    justify-content: center; /* Center image horizontally */
    align-items: center; /* Center image vertically if needed */
}

.about-image img {
    max-width: 400px; /* Limit the size of the image */
    width: 100%; /* Ensure responsiveness */
    border-radius: 8px; /* Optional: add subtle rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: add a subtle shadow */
}

.about-text {
    flex: 1;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-10px);
}

.service-item img {
    height: 60px; /* Icon size */
    margin: 0 auto 20px auto;
}

.service-item h3 {
    font-size: 1.3em;
    margin-bottom: 15px;
}

.service-item p {
    font-size: 0.95em;
    color: var(--color-text-light);
}

/* Advantages Section */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.advantage-item {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.advantage-item img {
    height: 60px; /* Icon size */
    margin: 0 auto 20px auto;
}

.advantage-item h3 {
     font-size: 1.3em;
    margin-bottom: 15px;
}

.advantage-item p {
     font-size: 0.95em;
    color: var(--color-text-light);
}

/* Steps Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

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

.step-icon-container {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.step-icon-container img {
    height: 70px; /* Icon size */
    margin: 0 auto;
}

.step-number {
    position: absolute;
    top: -10px; /* Adjust position as needed */
    right: -10px; /* Adjust position as needed */
    background-color: var(--color-accent);
    color: var(--color-white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-family: var(--font-heading);
    font-size: 1.1em;
    border: 2px solid var(--color-white); /* Add a border for visibility */
}

.step-item h3 {
     font-size: 1.3em;
    margin-bottom: 15px;
}

.step-item p {
     font-size: 0.95em;
    color: var(--color-text-light);
}