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

:root {
    --primary-color: #0078D4;
    --primary-dark: #005a9e;
    --secondary-color: #64748b;
    --text-dark: #000000;
    --text-light: #475569;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

/* ===========================
   Typography
   =========================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* ===========================
   Layout
   =========================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--text-dark);
}

/* ===========================
   Header
   =========================== */
.header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

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

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

.logo a:hover {
    opacity: 0.8;
}

.logo-img {
    height: 80px;
    width: auto;
    display: block;
}

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.logo .tagline {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0;
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

.nav .btn-primary {
    color: white;
}

.nav .btn-primary:hover {
    color: white;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-option {
    transition: var(--transition);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.lang-option:hover {
    color: var(--primary-color);
}

.lang-option.active {
    color: var(--primary-color);
    font-weight: 700;
}

.lang-divider {
    color: var(--border-color);
}

/* ===========================
   Buttons
   =========================== */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

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

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    background: linear-gradient(135deg, #0078D4 0%, #005a9e 100%);
    color: white;
    padding: 8rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-image {
    margin-bottom: 2rem;
}

.hero-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.hero-name {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    font-weight: 700;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
    font-weight: 500;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

.hero .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.credentials-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.badge-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 2rem;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.badge-logo {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.badge-item img[src*="azure-logo-text"] {
    height: 120px;
}

.badge-item img[src*="aws-logo-text"] {
    height: 70px;
}

.badge-cert {
    height: 120px;
    border-radius: 0.5rem;
}

.badge-link {
    cursor: pointer;
    text-decoration: none;
    color: var(--text-dark);
}

.badge-link:hover {
    background: rgba(255, 255, 255, 1);
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.badge-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

.badge-sublabel {
    font-size: 0.8rem;
    opacity: 0.7;
    color: var(--text-light);
}

/* ===========================
   About Section
   =========================== */
.about {
    background-color: var(--bg-white);
}

.about-wrapper {
    display: flex;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.about-image {
    flex-shrink: 0;
}

.profile-img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.about-content {
    flex: 1;
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
}

/* ===========================
   Services Section
   =========================== */
.services {
    background-color: var(--bg-light);
}

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

.service-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.7;
}

/* ===========================
   Expertise Section
   =========================== */
.expertise {
    background-color: var(--bg-white);
}

.expertise-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.expertise-category h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.expertise-list {
    list-style: none;
}

.expertise-list li {
    padding: 0.75rem 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
}

.expertise-list li:last-child {
    border-bottom: none;
}

.expertise-list strong {
    color: var(--text-dark);
}

/* ===========================
   Contact Section
   =========================== */
.contact {
    background-color: var(--bg-light);
    text-align: center;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-option {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--border-color);
}

.contact-option h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.125rem;
    transition: var(--transition);
}

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

/* ===========================
   Footer
   =========================== */
.footer {
    background-color: var(--text-dark);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 1rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .logo-img {
        height: 60px;
    }

    .nav {
        gap: 0.75rem;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .nav a {
        font-size: 0.9rem;
    }

    .lang-btn {
        font-size: 0.85rem;
    }

    .hero {
        padding: 5rem 0;
    }

    .hero-photo {
        width: 150px;
        height: 150px;
    }

    .hero-name {
        font-size: 3rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .credentials-badges {
        gap: 1rem;
        margin-top: 2rem;
    }

    .badge-item {
        padding: 0.6rem 1.25rem;
    }

    .badge-logo {
        height: 80px;
    }

    .badge-item img[src*="azure-logo-text"] {
        height: 100px;
    }

    .badge-item img[src*="aws-logo-text"] {
        height: 60px;
    }

    .badge-cert {
        height: 100px;
    }

    .badge-label {
        font-size: 0.875rem;
    }

    .badge-sublabel {
        font-size: 0.75rem;
    }

    section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .profile-img {
        width: 200px;
        height: 200px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .expertise-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .nav {
        gap: 0.5rem;
    }

    .nav a {
        font-size: 0.85rem;
    }

    .nav .btn-primary {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .lang-btn {
        font-size: 0.8rem;
    }

    .hero-name {
        font-size: 2.25rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .badge-logo {
        height: 70px;
    }

    .badge-item img[src*="azure-logo-text"] {
        height: 85px;
    }

    .badge-item img[src*="aws-logo-text"] {
        height: 50px;
    }

    .badge-cert {
        height: 90px;
    }

    .profile-img {
        width: 150px;
        height: 150px;
    }

    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}
