/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Cross-browser list alignment fix */
ul, ol {
    -webkit-padding-start: 0;
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    padding-inline-start: 0;
    margin-block-start: 0;
    margin-block-end: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #add8e6;
}
.container {
    max-width: 1200px;
    margin: 1px 6px;
    background-color: #ffffff;
    min-height: calc(100vh - 2px);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    border: 5px solid #add8e6;
}
/* Hide radio buttons */
input[type="radio"] {
    display: none;
}
/* Tab Navigation Styles */
.tab-navigation {
    background-color: #add8e6;
    padding: 5px 20px 4px 20px;
}
.tab-container {
  /* Style the container holding tabs */
  display: flex;
  justify-content: flex-start;  /* Left-justify tabs */
  margin-bottom: 8px;  /* Add space between tabs and content, was 20px */
  margin-left: -13px;
  /* background-color: #add8e6; /* Background color around tabs */
}
.tab-button {
  /* Style the tab buttons */
  display: block;
  padding: 10px 10px; /* The 1st is the padding above and below text, the 2nd is the padding left & right of the text. */
  margin: 0px 2px;  /* The 1st is the padding above the botton, the 2nd is the padding between buttons */
  text-align: center;
  font-size: 1.3em;  /* Large font size. The relative size of the font compared to the current font size of the element's parent. Was 1.5em*/
  cursor: pointer;
  /* Add border for individual tab, remove previous rule */
  border: 2px solid white; /* Add colored border. For no border, use the command border: none; */
  border-radius: 5px;  /* Rounded corners for buttons */
  background-color: #EBEBEB;  /* Background for inactive tabs */
  font-family: Arial, sans-serif;  /* Set Arial font for buttons */
  text-decoration: none;
  color: #333333;  /* Default text color for tabs */
  box-shadow: none;  /* No shadow for inactive tabs */
}
.tab-button:hover {
  /* Style on hover effect */
  background-color: #FFFF9E; /* Background color for when hovering over */
  color: #333333; /* Keep text color consistent on hover */
  box-shadow: none;  /* No shadow on hover */
}
.active-tab {
  /* Style for the active tab (black font) */
  color: #000000;
  background-color: #fff;
  box-shadow: 0px 15px 0px white;
  font-family: Arial, sans-serif;  /* Set Arial font for buttons */
}
/* Active tab styling using radio button checked state */
#tab1:checked ~ .tab-navigation .tab-container label:nth-child(1),
#tab2:checked ~ .tab-navigation .tab-container label:nth-child(2),
#tab3:checked ~ .tab-navigation .tab-container label:nth-child(3),
#tab4:checked ~ .tab-navigation .tab-container label:nth-child(4),
#tab5:checked ~ .tab-navigation .tab-container label:nth-child(5),
#tab6:checked ~ .tab-navigation .tab-container label:nth-child(6),
#tab7:checked ~ .tab-navigation .tab-container label:nth-child(7),
#tab8:checked ~ .tab-navigation .tab-container label:nth-child(8),
#tab9:checked ~ .tab-navigation .tab-container label:nth-child(9),
#tab10:checked ~ .tab-navigation .tab-container label:nth-child(10) {
    color: #000000 !important;
    background-color: #fff;
    box-shadow: 0px 15px 0px white;
}
/* Active tab hover effects */
#tab1:checked ~ .tab-navigation .tab-container label:nth-child(1):hover,
#tab2:checked ~ .tab-navigation .tab-container label:nth-child(2):hover,
#tab3:checked ~ .tab-navigation .tab-container label:nth-child(3):hover,
#tab4:checked ~ .tab-navigation .tab-container label:nth-child(4):hover,
#tab5:checked ~ .tab-navigation .tab-container label:nth-child(5):hover,
#tab6:checked ~ .tab-navigation .tab-container label:nth-child(6):hover,
#tab7:checked ~ .tab-navigation .tab-container label:nth-child(7):hover,
#tab8:checked ~ .tab-navigation .tab-container label:nth-child(8):hover,
#tab9:checked ~ .tab-navigation .tab-container label:nth-child(9):hover,
#tab10:checked ~ .tab-navigation .tab-container label:nth-child(10):hover {
    background-color: #FFFF9E !important;
}
/* Tab Content Styles */
.tab-content-container {
    position: relative;
    min-height: calc(100vh - 80px);
}
.tab-page {
    display: none;
    padding: 5px 20px 40px 20px;
}
/* Show content based on radio button state */
#tab1:checked ~ .tab-content-container #page1,
#tab2:checked ~ .tab-content-container #page2,
#tab3:checked ~ .tab-content-container #page3,
#tab4:checked ~ .tab-content-container #page4,
#tab5:checked ~ .tab-content-container #page5,
#tab6:checked ~ .tab-content-container #page6,
#tab7:checked ~ .tab-content-container #page7,
#tab8:checked ~ .tab-content-container #page8,
#tab9:checked ~ .tab-content-container #page9,
#tab10:checked ~ .tab-content-container #page10 {
    display: block;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Content Header Styles */
.content-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
}
.content-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}
.subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    font-weight: 300;
}
/* Content Body Styles */
.content-body {
    max-width: 1000px;
    margin: 0;
    padding: 0;
}
/* Tab 1 - Home Content */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.content-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.content-card h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.4rem;
}
.content-card ul {
    list-style: none;
    padding-left: 0;
}
.content-card li {
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}
.content-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}
/* Tab 2 - Services Content */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.service-item {
    text-align: center;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}
.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: grayscale(0.3);
}
.service-item h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.3rem;
}
/* Tab 3 - Portfolio Content */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.portfolio-item {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}
.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.portfolio-image {
    height: 200px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.placeholder-image {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}
.portfolio-info {
    padding: 25px;
}
.portfolio-info h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.3rem;
}
.portfolio-tags {
    margin-top: 15px;
}
.tag {
    display: inline-block;
    background: #e9ecef;
    color: #495057;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    margin: 2px 5px 2px 0;
}
/* Tab 4 - Team Content */
.team-section {
    margin-top: 30px;
}
.team-intro {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.team-intro h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.8rem;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.team-member {
    text-align: center;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}
.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}
.member-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 auto 20px;
}
.team-member h3 {
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 1.3rem;
}
.member-role {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}
/* Tab 5 - Contact Content */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}
.contact-info {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}
.contact-info h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.6rem;
}
.contact-methods {
    margin-top: 30px;
}
.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}
.contact-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    width: 40px;
}
.contact-details h3 {
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 1.1rem;
}
.contact-form-section {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
}
.contact-form-section h2 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 1.6rem;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 500;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 14px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}
/* Responsive Design */
@media (max-width: 768px) {
    .tab-link {
        padding: 15px 12px;
        font-size: 12px;
    }
    
    .tab-content {
        padding: 20px;
    }
    
    .content-header h1 {
        font-size: 2rem;
    }
    
    .content-grid,
    .services-grid,
    .portfolio-grid,
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
@media (max-width: 480px) {
    .tab-list {
        flex-direction: column;
    }
    
    .tab-list li {
        flex: none;
    }
    
    .content-header h1 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .content-card,
    .service-item,
    .team-member,
    .contact-info,
    .contact-form-section {
        padding: 20px;
    }
}
/* Content Section Styles */
.content-section {
    margin-bottom: 30px;
}
.section-heading {
    background-color: #d3d3d3;
    color: #dc3545;
    padding: 2px 20px 2px 7px;
    margin: 1px 0;
    border-radius: 6px;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.2;
    margin-left: 0;
    display: block;
}
.content-list {
    list-style: disc;
    margin-left: 0;
    padding-left: 20px;
}
.content-list li {
    color: #000000;
    margin-bottom: 2px;
    line-height: 1.25;
    font-size: 1.1rem;
}
/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* Focus styles for accessibility */
.tab-link:focus,
.form-group input:focus,
.form-group textarea:focus,
.submit-btn:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}
/* Image Display Styles */
.image-container {
    margin: 15px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.responsive-image {
    cursor: default;
}
/* 1x1 Layout - Single image, width less than site window */
.image-1x1 {
    max-width: 100%;
    justify-content: center;
}
.image-1x1 .responsive-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 0 auto;
}
/* Image wrapper for equal height control */
.image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}
/* 2x1 Layout - Two images stacked on left, one centered on right */
.image-2x1 {
    max-width: 100%;
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: flex-start;
    margin: 15px 0 5px 0; /* Reduced bottom margin to 5px */
}
.image-2x1 .left-column {
    width: calc(50% - 2.5px);
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.image-2x1 .left-column .image-wrapper {
    width: 100%;
    height: auto;
}
.image-2x1 .right-column {
    width: calc(50% - 2.5px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.image-2x1 .right-column .image-wrapper {
    width: 100%;
    height: auto;
}
.image-2x1 .responsive-image {
    width: 100%;
    height: auto;
    max-width: 100%;
}
/* 1x2 Layout - One image on left, two images stacked on right */
.image-1x2 {
    max-width: 100%;
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: flex-start;
    margin: 15px 0 5px 0; /* Reduced bottom margin to 5px */
}
.image-1x2 .left-column {
    width: calc(50% - 2.5px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.image-1x2 .left-column .image-wrapper {
    width: 100%;
    height: auto;
}
.image-1x2 .right-column {
    width: calc(50% - 2.5px);
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.image-1x2 .right-column .image-wrapper {
    width: 100%;
    height: auto;
}
.image-1x2 .responsive-image {
    width: 100%;
    height: auto;
    max-width: 100%;
}
/* 2x2 Layout - Two images with 5px gap, total width fits within site window */
.image-2x2 {
    max-width: 100%;
    align-items: stretch;
    justify-content: flex-start;
}
.image-2x2 .image-wrapper {
    width: calc(50% - 2.5px);
    height: 250px; /* Fixed height for equal sizing */
}
.image-2x2 .responsive-image {
    width: 100%;
    height: 100%;
    object-fit: fill;
}
/* 3x3 Layout - Three images side-by-side with 5px gaps, fitting within site window */
.image-3x3 {
    max-width: 100%;
    align-items: stretch;
    justify-content: flex-start;
}
.image-3x3 .image-wrapper {
    width: calc(33.333% - 3.33px);
    height: 200px; /* Fixed height for equal sizing */
}
.image-3x3 .responsive-image {
    width: 100%;
    height: 100%;
    object-fit: fill;
}
/* Responsive adjustments for images on smaller screens */
@media (max-width: 768px) {
    .image-2x1 {
        flex-direction: column;
        gap: 10px;
    }
    
    .image-2x1 .left-column {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .image-2x1 .left-column .image-wrapper {
        height: 150px;
    }
    
    .image-2x1 .right-column {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .image-2x1 .right-column .image-wrapper {
        height: 200px;
    }
    
    .image-2x2 {
        flex-direction: column;
        gap: 10px;
    }
    
    .image-2x2 .image-wrapper {
        width: 100%;
        max-width: 400px;
        height: 200px;
        margin: 0 auto;
    }
    
    .image-3x3 {
        flex-direction: column;
        gap: 10px;
    }
    
    .image-3x3 .image-wrapper {
        width: 100%;
        max-width: 300px;
        height: 180px;
        margin: 0 auto;
    }
}
@media (max-width: 480px) {
    .image-1x1 .responsive-image {
        max-width: 100%;
    }
}
/* Print styles */
@media print {
    .tab-navigation {
        display: none;
    }
    
    .tab-content {
        display: block !important;
        page-break-inside: avoid;
    }
    
    .responsive-image {
        max-width: 100% !important;
        page-break-inside: avoid;
    }
}