/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Scroll offset for fixed header */
html {
    scroll-padding-top: 120px; /* Adjust based on header height */
    scroll-behavior: smooth; /* Smooth scrolling */
}

body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}
/* Dropdown styles */
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-toggle::after {
    content: '▼';
    font-size: 0.7em;
}

/* Center the dropdown content */
.dropdown-content{
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 120px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 1001;
    left: 50%; /*center horizontally*/
    transform: translateX(-50%); /* Offset by half width to center */
    top: 100%; /*position below the dropdown toggle*/
    margin-top: 5px; /* Small gap from the button */
}

/* Optional: Add a small arrow pointing up */
.dropdown-content::before{
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #fff;
}

.dropdown-content a {
    color: #333;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    font-size: 1rem;
}

.dropdown:hover .dropdown-content{
    display: block;
}


    
    /*Modal styles*/
#more-modal{
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0.0.0,3);
    justify-content: center;
    align-items: center;
}
#more-modal .modal-content{
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
    position: relative;
}
#more-modal .close-modal{
    position: absolute;
    top: 8px;
    right: 12px;
    font-size: 1.2rem;
    cursor: pointer;
    color: #96B96D;
    border: none;
    background: none;
}
/* Navigation */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    flex-wrap: wrap;
}

.logo a{
    text-decoration: none;
    color: inherit;
}

.logo a:hover{
    color: inherit;
}

.logo {
    flex: 0 0 auto;
}

.logo h1 {
    font-size: 2.6rem;
    color: #92D36D;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(146, 211, 109, 0.3),
                 -1px -1px 0 rgba(255, 255, 255, 0.5);
    letter-spacing: 0.5px;
}

.logo .tagline {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-style: italic;
    font-size: 1rem;
    color: #666;
    margin: 0.2rem 0 0 0;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(102, 102, 102, 0.2);
}

.logo-link:hover {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.nav-links {
    display: flex;
    gap: 3rem;
    margin-left: auto;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #96B69D;
}

/* Hero Image Section */
.hero-image {
    width: 100%;
    height: 60vh;  /* Increased height */
    background-image: url('/images/hero4.jpeg');
    background-size: cover;
    background-position: center 20%;  /* Adjusted to show more of the top of the image */
    background-repeat: no-repeat;
    position: relative;
    margin: 0;
    padding-top: 80px;  /* Match header height */
    margin-top: 80px;  /* Add margin to push content below fixed header */
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 80%;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Introduction Section */
.introduction {
    padding: 3rem 10%;
    margin: 0;
    background-color: #f8f9fa;
    text-align: center;
    position: relative;
    top: -2rem;
}

.introduction h2 {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-style: italic;
    font-weight: 600;
    color: #92D36D;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(146, 211, 109, 0.2);
}

.introduction p {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-style: italic;
    font-weight: 600;
    font-size: 1.3rem;
    color: #92D36D;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

/* Section Styles */
section:not(.hero-image):not(.introduction) {
    padding: 5rem 10%;
    margin: 0;  /* Remove default margin */
}

section h2 {
    color: #92D36D;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(146, 211, 109, 0.2);
}

/* Services Section */
.services {
    padding: 5rem 10%;
    background-color: #ffffff;
}

.services h2 {
    font-size: 2.2rem;
    color: #92D36D;
    text-align: center;
    margin-bottom: 3rem;
    text-shadow: 1px 1px 2px rgba(146, 211, 109, 0.2);
}

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

.service-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.service-item h3 {
    color: #96B69D;
    margin-bottom: 1rem;
}

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

.project-item {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.project-item h3 {
    color: #96B69D;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1.1rem;
}

.about-content p {
    font-family: 'Segoe UI', Arial, sans-serif;
    font-style: italic;
    font-weight: 600;
    color: #96B69D;
    font-size: 1.3rem;
    line-height: 1.8;
    text-align: center;
    padding: 1rem 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.about h3 {
    margin-top: 2.5rem;
    margin-bottom: 0.5rem;
    color: #96B69D;
}

/* Team Section */
.team-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.team-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: nowrap;
    width: 100%;
}

.team-row.top-row {
    justify-content: center;
    max-width: 800px;
    gap: 4rem;
    flex-direction: row;
}

.team-row.bottom-row {
    justify-content: center;
    max-width: 1000px;
    gap: 3rem;
    flex-direction: row;
}

.team-member {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 0 0 auto;
    min-width: 250px;
    max-width: 300px;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(150, 182, 157, 0.3);
}

.team-member h3 {
    color: #96B69D;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.team-photo {
    width: 140px;         /* You can adjust this size */
    height: 140px;        /* You can adjust this size */
    object-fit: cover;    /* Ensures the image fills the box and keeps aspect ratio */
    border-radius: 16px;  /* Rounded corners */
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    background: #fff;
    display: block;
    margin: 0 auto 1rem auto;
}

/* Team Modal Styles */
.team-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.team-modal-content {
    background: #fff;
    padding: 3rem;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.close-team-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #96B69D;
    font-weight: bold;
    transition: color 0.3s ease;
}

.close-team-modal:hover {
    color: #92D36D;
}

.team-modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.team-modal-header img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    margin-bottom: 1rem;
}

.team-modal-header h2 {
    color: #92D36D;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.team-modal-header .role {
    color: #96B69D;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-modal-body {
    line-height: 1.8;
    color: #333;
}

.team-modal-body h3 {
    color: #92D36D;
    margin: 1.5rem 0 0.5rem 0;
    font-size: 1.3rem;
}

.team-modal-body p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.team-modal-body ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.team-modal-body li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Contact Section */
.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info p {
    margin: 1rem 0;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: #92d36d;
    color: white;
    padding: 3rem 10%;
    margin-top: 2rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.contact-info a {
    color: #ffffff;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #e2e8f0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-nav {
        flex-direction: column;
        padding: 1rem 5%;
    }

    .logo h1 {
        font-size: 1.8rem;
    }

    .logo .tagline {
        font-size: 0.85rem;
    }

    .nav-links {
        margin-top: 1rem;
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

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

    .hero-image {
        height: 40vh;
        margin-top: 120px;
        padding-top: 0;
    }

    .introduction {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .introduction h2 {
        font-size: 1.8rem;
    }

    .introduction p {
        font-size: 1.1rem;
    }

    section {
        padding: 2rem 5%;
    }
    
    section h2 {
        font-size: 1.6rem;
    }

    .services-grid,
    .projects-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-modal-content {
        width: 95%;
        padding: 2rem 1.5rem;
        max-height: 90vh;
    }

    .team-modal-header img {
        width: 150px;
        height: 150px;
    }

    .team-modal-header h2 {
        font-size: 1.5rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.5rem;
    }

    .nav-links {
        gap: 0.5rem;
    }

    .nav-links a {
        font-size: 0.75rem;
    }

    .hero-image {
        height: 35vh;
        margin-top: 140px;
    }

    section {
        padding: 1.5rem 3%;
    }

    section h2 {
        font-size: 1.4rem;
    }

    .team-member {
        min-width: auto;
        max-width: 100%;
        padding: 1.5rem;
    }

    .team-photo {
        width: 120px;
        height: 120px;
    }
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth transitions for all interactive elements */
a, button {
    transition: all 0.3s ease;
}

/* Hover effects for navigation */
.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #96B69D;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Add smooth transition to sections */
section {
    transition: all 0.5s ease-in-out;
}

/* Portfolio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.portfolio-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(150, 182, 157, 0.2);
}

.portfolio-item h3 {
    color: #96B69D;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.portfolio-item p {
    color: #4a5568;
    line-height: 1.6;
} 

/* Project Detail Page Styles */
.project-detail h2 {
    color: #92D36D;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.project-year {
    color: #96B69D;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 600;
}

.project-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.project-section h3 {
    color: #92D36D;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #96B69D;
    padding-bottom: 0.5rem;
}

.project-section p {
    color: #333;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 0;
}

.quantities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.quantity-item {
    background: #fff;
    padding: 1rem;
    border-radius: 6px;
    border-left: 4px solid #92D36D;
    box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

.quantity-item strong {
    color: #92D36D;
    font-size: 1.1rem;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}

.services-list li {
    background: #fff;
    padding: 0.8rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 6px;
    border-left: 4px solid #96B69D;
    color: #333;
    font-weight: 500;
    box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

.certification-note {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f5e8 100%) !important;
    border: 2px solid #92D36D;
    border-left: 6px solid #92D36D;
}

.certification-note h3 {
    color: #92D36D !important;
    font-size: 1.5rem !important;
}

.certification-note p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.certification-note strong {
    color: #92D36D;
    font-size: 1.2rem;
}

.back-button {
    text-align: center;
    margin-top: 3rem;
}

.btn-back {
    display: inline-block;
    padding: 1rem 2rem;
    background: #92D36D;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 10px rgba(146, 211, 109, 0.3);
}

.btn-back:hover {
    background: #96B69D;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(146, 211, 109, 0.4);
}

/* Responsive design for project detail */
@media (max-width: 768px) {
    .project-detail {
        padding: 2rem 5% !important;
    }
    
    .project-detail h2 {
        font-size: 2rem;
    }
    
    .quantities-grid {
        grid-template-columns: 1fr;
    }
    
    .project-section {
        padding: 1rem;
    }
    
    /* Team section responsive */
    .team-row {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        flex-wrap: wrap;
    }
    
    .team-row.top-row,
    .team-row.bottom-row {
        max-width: 100%;
        gap: 2rem;
        flex-direction: column;
    }
    
    .team-member {
        min-width: auto;
        max-width: 100%;
    }
}

.section-gap {
    margin-bottom: 2.5rem; /* Adjust the value for more or less space */
}

.about h3 {
    margin-top: 2.5rem;   /* Adds space above each h3 */
    margin-bottom: 0.5rem; /* Keeps heading close to its paragraph */
} 

/* Contact Form Styles */
.contact-form-section {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-form-section h2 {
    color: #92D36D;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.contact-intro {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info-sidebar {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-info-sidebar h3 {
    color: #92D36D;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.contact-item {
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.contact-item strong {
    color: #333;
    display: block;
    margin-bottom: 0.3rem;
}

.contact-item a {
    color: #96B69D;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #92D36D;
}

.services-list-contact {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.services-list-contact li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    color: #666;
}

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

.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #92D36D;
    box-shadow: 0 0 0 3px rgba(146, 211, 109, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: #92D36D;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 1rem;
}

.submit-btn:hover {
    background: #96B69D;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(146, 211, 109, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Success/Error Messages */
.message {
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    font-weight: 600;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Design for Contact Form */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }
    
    .contact-form-section {
        padding: 2rem 5% !important;
    }
    
    .contact-form-section h2 {
        font-size: 2rem;
    }
    
    .contact-info-sidebar,
    .contact-form {
        padding: 1.5rem;
    }
} 

/* Header Contact Information */
.header-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-left: 2rem;
    padding: 0.5rem 1rem;
    background: rgba(146, 211, 109, 0.1);
    border-radius: 8px;
    border-left: 3px solid #92D36D;
}

.contact-item-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.contact-item-header strong {
    color: #333;
    font-weight: 600;
    min-width: 50px;
}

.contact-item-header a {
    color: #96B69D;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.85rem;
}

.contact-item-header a:hover {
    color: #92D36D;
}

/* Header Contact Information - Left Position */
.header-contact-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-right: 2rem;
    padding: 0.5rem 1rem;
    background: rgba(146, 211, 109, 0.1);
    border-radius: 8px;
    border-right: 3px solid #92D36D;
    min-width: 200px;
}

.header-contact-left .contact-item-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.header-contact-left .contact-item-header strong {
    color: #333;
    font-weight: 600;
    min-width: 45px;
    font-size: 0.8rem;
}

.header-contact-left .contact-item-header a {
    color: #96B69D;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.8rem;
    word-break: break-word;
}

.header-contact-left .contact-item-header a:hover {
    color: #92D36D;
}

/* Responsive adjustments for header contact */
@media (max-width: 1200px) {
    .header-contact {
        margin-left: 1rem;
        padding: 0.3rem 0.8rem;
    }
    
    .contact-item-header {
        font-size: 0.8rem;
    }
    
    .contact-item-header a {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .main-nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .header-contact {
        margin-left: 0;
        margin-top: 1rem;
        order: 2;
    }
    
    .nav-links {
        order: 3;
    }
} 

/* Responsive adjustments for left header contact */
@media (max-width: 1200px) {
    .header-contact-left {
        margin-right: 1rem;
        padding: 0.3rem 0.8rem;
        min-width: 180px;
    }
    
    .header-contact-left .contact-item-header {
        font-size: 0.75rem;
    }
    
    .header-contact-left .contact-item-header a {
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .main-nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .header-contact-left {
        margin-right: 0;
        margin-bottom: 1rem;
        order: 1;
        min-width: 100%;
    }
    
    .logo {
        order: 2;
    }
    
    .nav-links {
        order: 3;
    }
} 

/* Section Headlines */
.services h2,
.projects h2,
.about h2,
.team h2,
.portfolio h2,
.contact-form-section h2,
.introduction h2 {
    text-align: center;
    margin-bottom: 2rem;
}

/* Responsive adjustments for underlines */
@media (max-width: 768px) {
    .services h2::after,
    .projects h2::after,
    .about h2::after,
    .team h2::after,
    .portfolio h2::after,
    .contact-form-section h2::after,
    .introduction h2::after {
        height: 2px;
        bottom: -6px;
    }
} 