/* --- Variables & Reset --- */
:root {
    --primary-color: #0f1c3f; /* Deep Navy - Professional */
    --secondary-color: #d4af37; /* Gold - Thailand/Premium */
    --text-dark: #333;
    --text-light: #f4f4f4;
    --font-heading: 'Playfair Display', serif; /* Requested Font */
    --font-body: 'Lato', sans-serif; /* For readability */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- Layout Utilities --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-white { color: white; }
.bg-light { background-color: #f9f9f9; }
.bg-dark { background-color: var(--primary-color); color: white; }

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-align: center;
}
.bg-dark .section-title { color: var(--secondary-color); }

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}
.btn-primary:hover {
    background-color: #fff;
}

.btn-gold {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    width: 100%;
    font-size: 1.1rem;
}
.btn-gold:hover {
    background-color: #b3922d;
}

/* --- Navigation --- */
.navbar {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}
.logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--primary-color);
}

.nav-links .btn-nav {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 8px 20px;
    border-radius: 4px;
}

.hamburger { display: none; cursor: pointer; font-size: 1.5rem;}

/* --- Hero Section --- */
.hero {
    height: 90vh;
    background: url('az-technology-cover.avif') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 70px; /* Offset for fixed header */
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 28, 63, 0.7); /* Navy overlay */
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

/* --- About Grid --- */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    background: #fff;
    padding: 30px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* --- MD Message --- */
.md-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.md-image-box {
    flex: 1;
}

.md-image-box img {
    width: 100%;
    border-radius: 5px;
    box-shadow: 10px 10px 0 var(--secondary-color);
}

.md-content {
    flex: 1.5;
}

.md-content blockquote {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-style: italic;
    color: #555;
    border-left: 2px solid var(--secondary-color);
    padding-left: 20px;
}

.md-signature {
    margin-top: 20px;
    color: var(--primary-color);
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.service-item {
    background: #fff;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
    border-bottom: 3px solid transparent;
}

.service-item:hover {
    transform: translateY(-5px);
    border-bottom: 3px solid var(--secondary-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.service-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-item h4 {
    font-size: 1.1rem;
    color: #444;
}

/* --- Contact Section --- */
.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-top: 40px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.info-item h5 {
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-item p {
    color: #ccc;
    font-size: 0.95rem;
}

.contact-form-box {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 30px;
    border-radius: 5px;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
}

.form-status {
    margin-top: 15px;
    font-weight: bold;
    text-align: center;
    color: green;
}

/* --- Footer --- */
footer {
    background: #0a1229;
    color: #777;
    padding: 20px 0;
    font-size: 0.9rem;
}

/* --- Responsive Media Queries --- */
@media (max-width: 768px) {
    .nav-links { display: none; } /* Simplified mobile handling */
    .hamburger { display: block; }
    
    .hero-content h1 { font-size: 2.5rem; }
    
    .md-container { flex-direction: column; }
    .md-image-box img { box-shadow: none; margin-bottom: 20px;}
    
    .contact-wrapper { flex-direction: column; }
}