/*
Theme Name: Param Nirmal Custom Theme
Theme URI: http://yourwebsite.com
Author: Nitish Singh
Author URI: https://www.linkedin.com/in/itsnitish-kumar/
Description: Custom theme for Param Nirmal Envirotech profile
Version: 1.0
*/

/* CSS Variables (Custom Properties) */
:root {
  /* Colors */
  --primary-color: #1abc9c;
  --secondary-color: #00c3ff;
  --dark-color: #1e1e1e;
  --light-color: #ffffff;
  --text-color: #333333;
  --text-light: #ffffff;
  --border-color: #eeeeee;
  --overlay-color: #00aaff;

  /* Spacing */
  --space-xs: 5px;
  --space-sm: 10px;
  --space-md: 20px;
  --space-lg: 30px;
  --space-xl: 40px;
  --space-xxl: 60px;

  /* Font Sizes */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-md: 18px;
  --text-lg: 22px;
  --text-xl: 28px;

  /* Breakpoints */
  --breakpoint-mobile: 480px;
  --breakpoint-tablet: 768px;
  --breakpoint-desktop: 1024px;
  --breakpoint-wide: 1200px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Shadows */
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 50%;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
section {
  padding: 50px 0;
}

body,html {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  margin: 0 !important;
  padding: 0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-normal);
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
  :root {
    --space-md: 15px;
    --space-lg: 20px;
    --space-xl: 30px;
  }

  .header-flex {
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-sm);
  }

  .main-nav .nav-menu {
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-md);
  }

  .main-nav .nav-menu li ul {
    position: static;
    box-shadow: none;
    padding-left: var(--space-md);
  }

  .header-social {
    clip-path: none;
    justify-content: center;
    margin-top: var(--space-md);
    padding: var(--space-sm);
  }

  .footer-content {
    flex-direction: column;
    gap: var(--space-lg);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .footer-links {
    margin-top: var(--space-sm);
  }

  .footer-links a {
    margin-left: 0;
    margin-right: var(--space-md);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  /* Tablet-specific adjustments */
  :root {
    --space-lg: 20px;
    --space-xl: 30px;
  }

  .main-nav .nav-menu {
    gap: var(--space-md);
  }

  .footer-box {
    flex: 1 1 160px;
  }
}

/* Utility Classes */
.container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  width: 80%;
}

.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: var(--space-xs);
}
.mt-2 {
  margin-top: var(--space-sm);
}
.mt-3 {
  margin-top: var(--space-md);
}
.mt-4 {
  margin-top: var(--space-lg);
}
.mt-5 {
  margin-top: var(--space-xl);
}
