/* Responsive Design for All Devices */

/* Base responsive settings */
:root {
    --container-padding: 2rem;
    --section-padding: 4rem 0;
}

/* General responsive rules */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Responsive Typography */
html {
    font-size: 16px;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.4;
}

/* Header Responsive */
.simple-navbar {
    padding: 1rem 0;
}

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

.simple-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #000000;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Hero Section */
.hero-section {
    padding: 6rem 0 4rem;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: #ffffff;
    padding: 0 1rem;
}

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

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

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

/* Media Queries */

/* Tablets */
@media (max-width: 1024px) {
    /* Portfolio Slideshow */
    .portfolio-slideshow-container {
        height: 500px;
    }
}

@media (max-width: 992px) {
    /* Featured Categories */
    .featured-categories {
        padding: 4rem 1.5rem;
    }

    .categories-grid {
        padding: 0 1.5rem;
    }

    /* Hero Section */
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }

    :root {
        --container-padding: 1.5rem;
        --section-padding: 3rem 0;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero-section {
        min-height: 70vh;
        padding: 5rem 0 3rem;
    }
}

/* Large Mobile */
@media (max-width: 768px) {
    /* Portfolio Slideshow */
    .portfolio-slideshow-section {
        padding: 3rem 0;
    }

    .portfolio-slideshow-container {
        height: 400px;
        padding: 0 1rem;
    }

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

    .portfolio-slideshow-section .section-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .slideshow-nav button {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* Magnificent Creations & Portfolio Slideshow */
    .magnificent-creations {
        padding: 3rem 1rem 1rem !important;
        margin-bottom: 0 !important;
    }

    .magnificent-creations + .portfolio-slideshow-section {
        padding-top: 2rem !important;
        margin-top: 0 !important;
    }

    .magnificent-creations .section-title {
        font-size: 1.8rem !important;
    }

    .portfolio-slideshow-section .section-title {
        font-size: 1.6rem !important;
    }

    .portfolio-slideshow-section .section-subtitle {
        font-size: 1rem !important;
    }

    /* Featured Categories */
    .featured-categories {
        padding: 3rem 1rem;
    }

    .categories-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
    }

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

    /* Hero Section */
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }

    .simple-menu-toggle {
        display: block;
    }
    
    .simple-nav {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 1rem 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .simple-nav.active {
        display: flex;
    }
    
    .simple-nav a {
        padding: 0.75rem 1rem;
        width: 100%;
        text-align: center;
    }
    
    .hero-content {
        padding: 0 1.5rem;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    /* Portfolio Slideshow */
    .portfolio-slideshow-container {
        height: 300px;
    }

    .portfolio-slideshow-section .section-title {
        font-size: 1.75rem;
    }

    .slideshow-nav {
        padding: 0 0.5rem;
    }

    .slideshow-nav button {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    /* Magnificent Creations & Portfolio Slideshow */
    .magnificent-creations .section-title {
        font-size: 1.6rem !important;
    }

    .portfolio-slideshow-section .section-title {
        font-size: 1.4rem !important;
    }

    :root {
        --container-padding: 1rem;
        --section-padding: 2rem 0;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .hero-section {
        min-height: 60vh;
        padding: 4rem 0 2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes for Responsive Spacing */
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

/* Print Styles */

/* =================================
   #PREMIUM ABOUT SECTION - RESPONSIVE
   ================================= */

@media (max-width: 1200px) {
  .about-section {
    padding: 6rem 0;
  }
  
  .about-grid {
    gap: 3rem;
  }
  
  .about-content {
    padding-right: 2rem;
  }
  
  .about-paragraph {
    font-size: 1.05rem;
  }
  
  .stat-value {
    font-size: 2.25rem;
  }
}

@media (max-width: 992px) {
  .about-section .section-title {
    font-size: 3rem;
  }
  
  .about-section .section-subtitle {
    font-size: 1.15rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .about-content {
    padding-right: 0;
    order: 2;
  }
  
  .about-image {
    order: 1;
    max-width: 700px;
    margin: 0 auto;
    min-height: 400px;
  }
  
  .about-text {
    max-width: 100%;
  }
  
  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .leadership-grid {
    gap: 2rem;
  }

  .leadership-member {
    flex: 0 0 calc(50% - 2rem);
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 5rem 0;
  }
  
  .about-section .section-header {
    margin-bottom: 3.5rem;
  }
  
  .about-section .section-title {
    font-size: 2.5rem;
  }
  
  .about-section .section-subtitle {
    font-size: 1.1rem;
  }
  
  .about-paragraph {
    padding-left: 2rem;
    font-size: 1rem;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .stat-item {
    padding: 1.25rem;
  }
  
  .signature {
    flex-direction: column;
    text-align: center;
    padding-top: 1.5rem;
  }
  
  .signature::before {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .signature-image {
    margin: 0 0 1.5rem 0;
  }
  
  .about-cta {
    margin-top: 2.5rem;
  }

  .leadership-section {
    margin: 4rem 0;
  }

  .leadership-grid {
    flex-direction: column;
    align-items: center;
  }

  .leadership-member {
    flex: 0 0 auto;
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .about-section {
    padding: 4rem 0;
  }
  
  .about-section .section-title {
    font-size: 2.25rem;
  }
  
  .about-section .section-subtitle {
    font-size: 1rem;
  }
  
  .about-paragraph {
    padding-left: 1.75rem;
  }
  
  .signature-name {
    font-size: 1.25rem;
  }
  
  .signature-title {
    font-size: 0.8rem;
  }
}


@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .container {
        width: 100%;
        padding: 0;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }
}
