/* ==================== */
/* RESPONSIVE DESIGN */
/* ==================== */

/* Tablet Screens (768px - 1024px) */
@media (max-width: 1024px) {
  .navbar-brand-title {
    font-size: 1.3rem;
  }

  .nav-links {
    gap: 1rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .about-section .row {
    gap: 2rem;
  }

  .about-image {
    height: 300px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-preview-text {
    padding-left: 0;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mission-card {
    height: 100%;
  }

  .contact-info-grid {
    gap: 1.5rem;
  }

  .contact-card {
    min-height: 200px;
  }

  .portfolio-filter {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

/* Mobile Screens (768px and below) */
@media (max-width: 768px) {
  .navbar {
    padding: 0.75rem 0;
  }

  .navbar-brand-title {
    font-size: 1.1rem;
  }

  .navbar-brand-subtitle {
    font-size: 0.65rem;
  }

  .menu-toggle {
    font-size: 1.5rem;
    padding: 0.5rem;
  }

  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.95);
    padding: 1rem;
    gap: 0.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-links.active {
    max-height: 400px;
  }

  .nav-links a {
    color: #fff;
    padding: 0.75rem;
    border-radius: 4px;
  }

  .nav-links a:hover {
    background: rgba(228, 202, 54, 0.1);
  }

  .about-hero {
    padding: 6rem 1.25rem 3.5rem;
  }

  .about-hero-divider {
    width: 80px;
  }

  .about-story {
    text-align: center;
  }

  .about-story-text {
    margin-bottom: 1.5rem;
  }

  .about-story-image {
    height: 320px;
  }

  .mission-card {
    padding: 2rem;
  }

  .core-values-grid {
    gap: 1.5rem;
  }

  .core-value-card {
    min-height: auto;
  }

  .process-grid::before,
  .process-step::after {
    display: none;
  }

  .contact-hero {
    padding: 6.5rem 1.25rem 3rem;
  }

  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .contact-card {
    padding: 2rem 1.25rem;
    min-height: auto;
  }

  .contact-form-card,
  .contact-map-card {
    padding: 2rem;
  }

  /* Hero Section */
  .hero {
    height: 70vh;
    padding: 2rem 0;
  }

  .hero-content {
    text-align: center;
  }

  .hero-content h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .hero-content p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons button {
    width: 100%;
  }

  /* About Section */
  .about-section {
    padding: 2rem 1rem;
  }

  .about-section .row {
    flex-direction: column;
    gap: 1.5rem;
  }

  .about-image {
    height: 250px;
    display: none;
  }

  .about-content h2 {
    font-size: 1.5rem;
  }

  .about-content p {
    font-size: 0.9rem;
  }

  /* Stats Section */
  .stats-section {
    padding: 2rem 1rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-card {
    padding: 1.5rem 1rem;
    text-align: center;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }

  /* Services Section */
  .services-section {
    padding: 2rem 1rem;
  }

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

  .service-card {
    padding: 1.5rem 1rem;
  }

  .service-card h3 {
    font-size: 1.1rem;
  }

  .service-card p {
    font-size: 0.9rem;
  }

  /* Projects Section */
  .projects-section {
    padding: 2rem 1rem;
  }

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

  .project-card {
    padding: 1rem;
  }

  .project-card h3 {
    font-size: 1rem;
  }

  /* Portfolio Filter */
  .portfolio-filter {
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .portfolio-filter button {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }

  /* Portfolio Grid */
  .portfolio-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  .portfolio-item {
    aspect-ratio: auto;
    height: 250px;
  }

  /* Contact Section */
  .contact-section {
    padding: 2rem 1rem;
  }

  .contact-info {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-info-item {
    text-align: center;
  }

  .contact-form {
    max-width: 100%;
  }

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

  .form-group input,
  .form-group textarea {
    padding: 0.75rem;
    font-size: 1rem;
  }

  /* Footer */
  .footer {
    padding: 2rem 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-section h3 {
    font-size: 1rem;
  }

  .footer-section p,
  .footer-section a {
    font-size: 0.85rem;
  }

  /* Scroll to Top Button */
  .scroll-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }

  /* Modal Adjustments */
  .modal-content {
    padding: 1.5rem 1rem;
  }

  .modal-content h5 {
    font-size: 1.2rem;
  }

  .modal-content input,
  .modal-content textarea {
    font-size: 0.9rem;
    padding: 0.6rem;
  }

  .modal-content button {
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
  }
}

/* Extra Small Screens (480px and below) */
@media (max-width: 480px) {
  .navbar-brand-title {
    font-size: 0.95rem;
  }

  .navbar-brand-subtitle {
    font-size: 0.55rem;
  }

  .hero {
    height: 60vh;
    padding: 1rem 0;
  }

  .hero-content h1 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
  }

  .hero-content p {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }

  .hero-buttons {
    gap: 0.5rem;
  }

  .hero-buttons button {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
  }

  /* Section Titles */
  section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  section p {
    font-size: 0.85rem;
  }

  /* Container Padding */
  .container {
    padding: 0 1rem;
  }

  /* Stats Grid */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stat-card {
    padding: 1.25rem 0.75rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  /* Service Cards */
  .service-card {
    padding: 1.25rem 0.75rem;
  }

  .service-card h3 {
    font-size: 1rem;
  }

  .service-card p {
    font-size: 0.8rem;
  }

  /* Project Cards */
  .project-card {
    padding: 0.75rem;
  }

  .project-card h3 {
    font-size: 0.95rem;
  }

  .project-card p {
    font-size: 0.75rem;
  }

  /* Contact Form */
  .contact-form {
    padding: 1rem;
  }

  .form-group label {
    font-size: 0.85rem;
  }

  .form-group input,
  .form-group textarea {
    font-size: 0.85rem;
    padding: 0.5rem;
  }

  /* Text Alignment */
  h1, h2, h3, h4, h5, h6 {
    word-break: break-word;
  }

  /* Button Sizing */
  button {
    border-radius: 8px;
  }

  button:hover {
    transform: translateY(-2px);
  }

  /* Link Sizing */
  a {
    text-decoration: none;
  }

  /* Image Responsiveness */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Table Responsiveness */
  table {
    font-size: 0.8rem;
  }

  table th,
  table td {
    padding: 0.5rem;
  }

  /* List Items */
  li {
    margin-bottom: 0.5rem;
  }

  /* Spacing Utilities */
  .mb-3 {
    margin-bottom: 1rem;
  }

  .mt-3 {
    margin-top: 1rem;
  }

  .p-3 {
    padding: 1rem;
  }
}

/* ==================== */
/* PORTFOLIO PAGE RESPONSIVE */
/* ==================== */

@media (max-width: 1024px) {
  .portfolio-insights-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .featured-projects-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .featured-project-card {
    flex-direction: column;
  }

  .featured-project-image {
    width: 100%;
    height: 300px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .portfolio-hero-section {
    padding: 6rem 1.5rem 3rem;
  }

  .portfolio-hero-subtitle {
    font-size: 1rem;
  }

  .portfolio-insights-section {
    padding: 3rem 1.5rem;
  }

  .portfolio-insights-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .portfolio-insight-card {
    padding: 2rem 1.5rem;
  }

  .portfolio-insight-number {
    font-size: 2rem;
  }

  .portfolio-filter-section {
    padding: 2rem 1.5rem;
  }

  .portfolio-filter-wrapper {
    gap: 0.75rem;
  }

  .portfolio-filter-btn {
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
  }

  .featured-projects-section {
    padding: 3rem 1.5rem;
  }

  .featured-projects-header {
    margin-bottom: 3rem;
  }

  .featured-projects-grid {
    gap: 2rem;
  }

  .featured-project-card {
    flex-direction: column;
  }

  .featured-project-image {
    width: 100%;
    height: 280px;
  }

  .featured-project-content {
    padding: 2rem 1.5rem;
  }

  .featured-project-title {
    font-size: 1.5rem;
  }

  .portfolio-grid-section {
    padding: 3rem 1.5rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .portfolio-image {
    height: 320px;
  }

  .portfolio-title {
    font-size: 1.2rem;
  }

  .portfolio-cta-wrapper {
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .portfolio-hero-section {
    padding: 5rem 1rem 2.5rem;
  }

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

  .portfolio-insights-section {
    padding: 2.5rem 1rem;
  }

  .portfolio-insights-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .portfolio-insight-card {
    padding: 1.5rem 1rem;
  }

  .portfolio-insight-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .portfolio-insight-number {
    font-size: 1.75rem;
  }

  .portfolio-filter-section {
    padding: 1.5rem 1rem;
  }

  .portfolio-filter-btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
  }

  .featured-projects-section {
    padding: 2.5rem 1rem;
  }

  .featured-projects-title {
    font-size: 1.75rem;
  }

  .featured-project-image {
    height: 250px;
  }

  .featured-project-content {
    padding: 1.5rem 1rem;
  }

  .featured-project-title {
    font-size: 1.3rem;
  }

  .featured-project-description {
    font-size: 0.95rem;
  }

  .portfolio-grid-section {
    padding: 2.5rem 1rem;
  }

  .portfolio-grid {
    gap: 1.5rem;
  }

  .portfolio-image {
    height: 280px;
  }

  .portfolio-category-badge {
    top: 1rem;
    left: 1rem;
    font-size: 0.65rem;
    padding: 0.35rem 0.85rem;
  }

  .portfolio-title {
    font-size: 1.1rem;
  }

  .portfolio-description {
    font-size: 0.9rem;
  }

  .portfolio-cta-wrapper {
    padding: 2.5rem 1rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .scroll-to-top,
  button,
  form {
    display: none;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  section {
    page-break-inside: avoid;
  }
}

/* ==================== */
/* SERVICES PAGE RESPONSIVE */
/* ==================== */

@media (max-width: 1024px) {
  .service-summary-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .design-process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .service-detail-item {
    margin-bottom: 4rem;
  }
}

@media (max-width: 768px) {
  .services-hero-section {
    padding: 6rem 1.5rem 3rem;
  }

  .services-hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .services-hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .services-hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  .service-summary-section {
    padding: 3rem 1.5rem;
  }

  .service-summary-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-summary-card {
    padding: 2rem 1.5rem;
  }

  .services-detail-section {
    padding: 3rem 1.5rem;
  }

  .service-detail-item {
    margin-bottom: 3rem;
  }

  .service-detail-content {
    margin-bottom: 2rem;
  }

  .service-detail-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }

  .service-detail-image {
    height: 350px;
  }

  .service-detail-title {
    font-size: 1.75rem;
  }

  .service-detail-description {
    font-size: 1rem;
  }

  .service-features-list li {
    font-size: 0.95rem;
  }

  .service-quote-btn {
    width: 100%;
    padding: 1rem 2rem;
  }

  .why-choose-section {
    padding: 3rem 1.5rem;
  }

  .why-choose-header {
    margin-bottom: 3rem;
  }

  .why-choose-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .why-choose-card {
    padding: 2rem 1.5rem;
  }

  .design-process-section {
    padding: 3rem 1.5rem;
  }

  .design-process-header {
    margin-bottom: 3rem;
  }

  .design-process-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .design-process-card {
    padding: 2.5rem 1.5rem;
  }

  .design-process-number {
    width: 80px;
    height: 80px;
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .services-hero-section {
    padding: 5rem 1rem 2.5rem;
  }

  .services-hero-title {
    font-size: 2rem;
  }

  .services-hero-subtitle {
    font-size: 0.95rem;
  }

  .service-summary-section {
    padding: 2.5rem 1rem;
  }

  .service-summary-card {
    padding: 1.5rem 1rem;
  }

  .service-summary-icon {
    width: 60px;
    height: 60px;
    font-size: 1.75rem;
  }

  .services-detail-section {
    padding: 2.5rem 1rem;
  }

  .service-detail-icon {
    width: 60px;
    height: 60px;
    font-size: 1.75rem;
  }

  .service-detail-image {
    height: 280px;
  }

  .service-detail-title {
    font-size: 1.5rem;
  }

  .why-choose-section {
    padding: 2.5rem 1rem;
  }

  .why-choose-title {
    font-size: 1.75rem;
  }

  .why-choose-card {
    padding: 1.5rem 1rem;
  }

  .why-choose-icon {
    width: 60px;
    height: 60px;
    font-size: 1.75rem;
  }

  .design-process-section {
    padding: 2.5rem 1rem;
  }

  .design-process-title {
    font-size: 1.75rem;
  }

  .design-process-card {
    padding: 2rem 1rem;
  }

  .design-process-number {
    width: 70px;
    height: 70px;
    font-size: 1.5rem;
  }

  .services-cta-wrapper {
    padding: 2.5rem 1rem;
  }
}