/* General Body & Typography */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

/* Header & Navigation */
.header {
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
}

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

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-item {
    text-decoration: none;
    color: #4A4A4A;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-item:hover {
    color: #007bff;
}

.btn {
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-btn {
    background-color: #007bff;
    color: #fff;
}

.contact-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* === MODIFIED HERO SECTION STYLES === */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px;
    min-height: 300px;
}

.hero-text {
    max-width: 750px;
}

.hero-text h1 {
    font-size: 48px;
    color: #2c3e50;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 18px;
    color: #555;
    margin-bottom: 30px;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.hero-btn {
    background-color: #28a745;
    color: #fff;
    font-size: 18px;
}

.hero-btn:hover {
    background-color: #218838;
    transform: translateY(-px);
}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: 60px auto;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  background-color: #f8f9fa;
  text-align: center;
}

/* === ADDED FOR CLICKABLE SLIDES === */
.slide-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.slideshow-header {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #2c3e50;
    text-align: center;
}

.mySlides {
  display: none;
  width: 100%;
}

.slide-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: top;
    display: block;
}

.slide-caption {
    text-align: center;
    padding: 15px 20px;
    background-color: rgba(44, 62, 80, 0.9);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.dot-container {
  text-align: center;
  padding: 20px;
  background-color: #fff;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #007bff;
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* Restored Homepage Sections */
.services-section, .cta-section {
    padding: 60px 20px;
    text-align: center;
}

.services-section h2, .cta-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2c3e50;
}

.service-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px;
    max-width: 300px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.card h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.cta-section p {
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-btn {
    background-color: #007bff;
    color: #fff;
}

/* Footer */
.footer {
    padding: 40px 0;
    background-color: #343a40;
    color: #fff;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    padding-bottom: 20px;
}

.footer-content h3 {
    margin-bottom: 15px;
}

.footer-content p, .footer-content a {
    color: #ccc;
    text-decoration: none;
    margin: 5px 0;
}

.social-icon:hover {
    color: #007bff;
}

.copyright {
    text-align: center;
    border-top: 1px solid #495057;
    padding-top: 20px;
    margin-top: 20px;
}

/* Portfolio Page Styling */
.portfolio-section {
    padding: 50px 0;
    text-align: center;
}
.portfolio-header {
    font-size: 36px;
    color: #2c3e50;
}
.portfolio-subheader {
    max-width: 600px;
    margin: 10px auto 40px;
}

/* Grid-based fix for portfolio panels */
.portfolio-panels-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 768px) {
    .portfolio-panels-container {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .portfolio-panels-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

.portfolio-panel {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
}

.portfolio-panel:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.panel-image {
    width: 100%;
    height: auto;
    display: block;
}

.panel-content {
    padding: 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Allows content to fill space */
}
.panel-details h3 {
    color: #007bff;
    margin-top: 0;
}

.panel-sidebar {
    border-top: 1px solid #eee;
    margin-top: 15px;
    padding-top: 15px;
}

.panel-sidebar h4 {
    font-size: 18px;
    color: #4A4A4A;
    margin-top: 0;
}

/* About Us Page Styling */
.about-us-section {
    padding: 50px 0;
}

.about-us-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-us-text {
    flex: 2;
}

.about-us-image {
    flex: 1;
}

.about-us-image img {
    max-width: 100%;
    border-radius: 8px;
}

/* Brand Story Section */
.brand-story-section {
    padding: 60px 0;
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.brand-story-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.brand-logo-container {
    flex: 1;
    text-align: center;
}

.brand-logo-large {
    max-width: 250px;
    height: auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-radius: 8px;
    background-color: #fff;
    padding: 20px;
}

.brand-story-text {
    flex: 2;
}

.brand-pillars {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.brand-pillars li {
    padding: 10px 0;
    font-size: 16px;
    border-bottom: 1px solid #e0e0e0;
}

.brand-pillars li:last-child {
    border-bottom: none;
}

.brand-pillars strong {
    color: #007bff;
}

/* Contact Page Styling */
.contact-section {
    padding: 50px 0;
}
.contact-header {
    text-align: center;
}
.contact-header p {
     max-width: 600px; 
     margin: 10px auto 40px;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 16px;
}

.checkbox-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px; /* Adds space between checkbox and text */
    font-weight: normal;
}

.checkbox-group input[type="checkbox"] {
    width: auto; /* Overrides the 100% width from the general input style */
    padding: 0; /* Removes unnecessary padding */
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #218838;
}

/* Blog Page Styling */
.blog-list-section {
    padding: 50px 0;
    text-align: center;
}

.blog-header {
    font-size: 36px;
    color: #2c3e50;
}
.blog-subheader {
    max-width: 600px;
    margin: 10px auto 40px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    text-align: left;
}

.blog-post-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.blog-image, .video-container iframe {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 20px;
}

.post-content h2 {
    margin-top: 0;
    font-size: 22px;
}

.read-more-link {
    display: inline-block;
    margin-top: 15px;
    font-weight: 600;
    color: #007bff;
    text-decoration: none;
}
.read-more-link:hover {
    text-decoration: underline;
}

/* Individual Blog Post Styling */
.blog-post-section {
    padding: 50px 0;
}
.blog-article {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.blog-article h1 {
    font-size: 38px;
    color: #2c3e50;
}
.article-meta {
    font-style: italic;
    color: #888;
    margin-bottom: 20px;
}

.article-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.image-comparison-container {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}

.image-comparison-item {
    flex: 1;
    text-align: center;
}

.image-comparison-item img {
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.image-comparison-header {
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    color: #555;
    margin-bottom: 10px;
}

.image-caption {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

/* Testimonial Box Styling */
.testimonial-box {
    margin-top: 50px;
    padding: 30px;
    background-color: #eaf4ff;
    border-left: 5px solid #007bff;
    border-radius: 0 8px 8px 0;
}

.testimonial-text {
    font-style: italic;
    font-size: 18px;
    color: #333;
    line-height: 1.7;
}

.testimonial-author {
    margin-top: 20px;
    font-weight: 600;
    color: #0056b3;
    text-align: right;
}

.testimonial-author span {
    display: block;
    font-weight: normal;
    font-size: 14px;
}

/* Iframe Styling */
.interactive-tool-iframe {
    width: 100%;
    height: 500px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin: 30px 0;
}

.back-to-blog {
    display: inline-block;
    margin-top: 30px;
    font-weight: 600;
    color: #007bff;
    text-decoration: none;
}


/* Responsive Design */
@media (max-width: 768px) {
    .navigation {
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero {
        padding: 80px 20px;
    }
    
    .hero-text h1 {
        font-size: 36px;
    }

    .about-us-content {
        flex-direction: column;
    }

    .brand-story-content {
        flex-direction: column;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }

    .image-comparison-container {
        flex-direction: column;
    }
}
