/* General Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    line-height: 1.6 !important;
}

/* Header */
header {
    border-bottom: 1px solid #e0e0e0;
    padding: 1rem 0 !important;
}

header h1 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #000;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler-icon {
    display: inline-block;
    width: 24px;
    height: 2px;
    background-color: #000;
    position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: #000;
    left: 0;
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    bottom: -8px;
}

/* LinkedIn Icon */
.linkedin-icon {
    color: #0077b5;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.linkedin-icon:hover {
    color: #005582;
}

/* Typography */
p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem !important;
}

h2 {
    font-size: 2rem;
    font-weight: 400;
    color: #000;
    margin-bottom: 1.5rem !important;
}

h3 {
    font-size: 1.25rem;
    font-weight: 400;
    color: #000;
    margin-bottom: 1rem !important;
}

/* Comments Label */
.comments {
    font-size: 0.875rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

/* Images */
img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

#about img,
section:not(#gallery) img {
    max-width: 400px;
    width: 100%;
}

.rounded {
    border-radius: 2px !important;
}

/* Gallery */
#gallery .row {
    margin: 0 -0.5rem;
}

#gallery .col-md-4 {
    padding: 0.5rem;
}

#gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* My Companies */
#companies ul li {
    margin-bottom: 0.5rem;
}

#companies a {
    color: #0066cc;
    font-size: 0.95rem;
}

#companies a:hover {
    text-decoration: underline !important;
}

/* Sections */
section {
    padding: 1rem 0 !important;
}

/* Responsive */
@media (max-width: 991px) {
    section {
        padding: 0.75rem 0 !important;
    }

    #gallery img {
        height: 200px;
    }
}

@media (max-width: 767px) {
    header h1 {
        font-size: 1.25rem;
    }

    #gallery .col-md-4 {
        width: 50%;
        flex: 0 0 50%;
    }

    #gallery img {
        height: 180px;
    }
}

@media (max-width: 575px) {
    #gallery .col-md-4 {
        width: 100%;
        flex: 0 0 100%;
    }
}