@import url('https://fonts.googleapis.com/css2?family=Anta&display=swap');

* {
   margin: 0;
   padding: 0;
   box-sizing: border-box;
}

body {
  font-family: "Anta", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #fff;
  font-size: 16px;
  line-height: 1.6;
  background: #000;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

.wrapper{ 
  background: linear-gradient(135deg, #000000 0%, #1a0000 25%, #ff0000 50%, #1a0000 75%, #000000 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  width: 100%;
  position: relative;
}

.wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 0, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255, 83, 25, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.container {
  max-width: 1500px;
  width: 90%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Header Styles */
header{
  padding:50px 0 ;
}

header .logo {
  text-transform: uppercase;
  font-size: 30px;
  font-weight: 400;
  text-shadow: 2px 2px 10px rgba(255, 0, 0, 0.5);
}

header nav {
  float: right;
  width: 55%;
  position: relative;
}

header nav ul {
  list-style: none;
  display: flex;
  justify-content: space-between;
  z-index: 2;
  position: relative;
}

header nav ul li{
  display: inline-block;
}

header nav ul li a {
  color: #fff;
  padding: 10px 0;
  display: block;
  transition: all 300ms ease;
}

header nav ul li:not(.btn):hover a {
  color: #ff5319;
  text-shadow: 0 0 10px rgba(255, 83, 25, 0.6);
}

.nav-line {
  position: absolute;
  bottom: -10px;
  height: 5px;
  background: linear-gradient(90deg, #ff0000, #ff5319);
  border-radius: 10px;
  transition: all 300ms ease;
  z-index: 1;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.8);
}

header nav ul li.btn a {
  background: linear-gradient(135deg, #000 0%, #1a0000 100%);
  padding: 9px 17px;
  border-radius: 5px;
  transition: all 500ms ease;
  border: 2px solid transparent;
}

header nav ul li.btn a:hover {
  background: linear-gradient(135deg, #ff0000 0%, #ff5319 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255, 0, 0, 0.5);
  border-color: #ff5319;
}

/* Hero Section */
.hero {
  padding-bottom: 100px;
  position: relative;
  z-index: 1;
}

.hero--info {
  width: 530px;
  padding-top: 50px;
}

.hero--info h2 {
  color: #ff5319;
  font-size: 20px;
  font-weight: 800;
  text-shadow: 0 0 15px rgba(255, 83, 25, 0.6);
}

.hero--info h1 {
  font-size: 20px;
  font-weight: 800;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.hero--info p {
  font-weight: 500;
  line-height: 170%;
  margin: 30px 0;
}

/* 3D Model Container Styles */
#model-container {
  position: absolute;
  top: -50px;
  right: 0;
  width: 350px;
  height: 350px;
  border-radius: 10px;
  overflow: hidden;
  z-index: 2;
  box-shadow: 0 10px 40px rgba(255, 0, 0, 0.3);
}

.hero img {
  display: none;
}

/* Course Details Section - Always Visible */
.course-details-section {
  width: 100%;
  background: linear-gradient(135deg, rgba(26, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.98) 50%, rgba(26, 0, 0, 0.95) 100%);
  border-top: 3px solid #ff5319;
  border-bottom: 3px solid #ff5319;
  box-shadow: 
    inset 0 10px 40px rgba(255, 0, 0, 0.2),
    0 10px 40px rgba(0, 0, 0, 0.8);
  position: relative;
  overflow: hidden;
}

.course-details-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 0, 0, 0.05) 50%,
    transparent 100%
  );
  animation: shimmer 8s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.details-container {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  padding: 60px 30px;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.details-image {
  flex: 0 0 380px;
}

.details-image img {
  width: 100%;
  display: block;
  border-radius: 12px;
  border: 3px solid #ff5319;
  box-shadow: 0 15px 40px rgba(255, 0, 0, 0.4);
  transition: transform 500ms ease;
}

.details-image img:hover {
  transform: scale(1.05);
}

.details-text {
  flex: 1;
}

.details-text h2 {
  color: #ff5319;
  font-size: 32px;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(255, 83, 25, 0.6);
}

.details-text p {
  color: #fff;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.details-text ul {
  color: #fff;
  margin-left: 20px;
  margin-bottom: 15px;
}

.details-text li {
  margin-bottom: 8px;
  position: relative;
  padding-left: 10px;
}

.details-text li::before {
  content: '▸';
  position: absolute;
  left: -10px;
  color: #ff5319;
}

/* About Section */
.about-section {
  background: 
    linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(26, 0, 0, 0.9) 50%, rgba(255, 0, 0, 0.15) 100%),
    radial-gradient(circle at 80% 20%, rgba(255, 83, 25, 0.1) 0%, transparent 50%);
  padding: 40px 0;
  position: relative;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,0,0,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.section-header {
  text-align: center;
  margin-bottom: 35px;
}

.section-header h2 {
  font-size: 48px;
  color: #ff5319;
  margin-bottom: 15px;
  text-transform: uppercase;
  text-shadow: 0 0 30px rgba(255, 83, 25, 0.8);
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ff5319, transparent);
  box-shadow: 0 0 10px rgba(255, 83, 25, 0.8);
}

.section-header p {
  font-size: 20px;
  color: #fff;
  opacity: 0.8;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 24px;
  color: #ff5319;
  margin-bottom: 12px;
  margin-top: 20px;
  text-shadow: 0 0 15px rgba(255, 83, 25, 0.5);
}

.about-text h3:first-child {
  margin-top: 0;
}

.about-text p {
  font-size: 15px;
  line-height: 160%;
  margin-bottom: 15px;
  color: #fff;
}

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

.about-image img {
  max-width: 100%;
  border-radius: 15px;
  box-shadow: 0 15px 50px rgba(255, 0, 0, 0.4);
  border: 2px solid rgba(255, 83, 25, 0.3);
  transition: transform 500ms ease;
}

.about-image img:hover {
  transform: scale(1.05) rotate(2deg);
}

/* Portfolio Section */
.portfolio-section {
  background: 
    linear-gradient(135deg, rgba(255, 0, 0, 0.15) 0%, rgba(26, 0, 0, 0.9) 50%, rgba(0, 0, 0, 0.95) 100%),
    radial-gradient(circle at 20% 80%, rgba(255, 83, 25, 0.1) 0%, transparent 50%);
  padding: 80px 0;
  position: relative;
}

.portfolio-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 0, 0, 0.03) 2px,
      rgba(255, 0, 0, 0.03) 4px
    );
  pointer-events: none;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

.portfolio-item {
  background: linear-gradient(135deg, rgba(26, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
  border-radius: 15px;
  overflow: hidden;
  transition: all 500ms ease;
  border: 2px solid rgba(255, 0, 0, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.portfolio-item:hover {
  transform: translateY(-10px);
  background: linear-gradient(135deg, rgba(255, 83, 25, 0.3) 0%, rgba(26, 0, 0, 0.8) 100%);
  border-color: #ff5319;
  box-shadow: 0 20px 50px rgba(255, 0, 0, 0.4);
}

.portfolio-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.portfolio-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.15);
}

.portfolio-info {
  padding: 25px;
}

.portfolio-info h3 {
  font-size: 24px;
  color: #ff5319;
  margin-bottom: 10px;
  text-shadow: 0 0 10px rgba(255, 83, 25, 0.5);
}

.portfolio-info p {
  color: #fff;
  margin-bottom: 15px;
  font-size: 16px;
}

.category {
  background: linear-gradient(135deg, #ff5319 0%, #ff0000 100%);
  color: #000;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  box-shadow: 0 3px 10px rgba(255, 83, 25, 0.4);
}

/* News Section */
.news-section {
  background: 
    linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(26, 0, 0, 0.9) 50%, rgba(255, 0, 0, 0.15) 100%),
    radial-gradient(circle at 50% 50%, rgba(255, 0, 0, 0.05) 0%, transparent 70%);
  padding: 80px 0;
  position: relative;
}

.news-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="1" fill="rgba(255,83,25,0.1)"/></svg>');
  pointer-events: none;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

.news-item {
  background: linear-gradient(135deg, rgba(26, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.7) 100%);
  border-radius: 15px;
  padding: 30px;
  display: flex;
  gap: 20px;
  transition: all 500ms ease;
  border: 2px solid rgba(255, 0, 0, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.news-item:hover {
  transform: translateY(-5px);
  background: linear-gradient(135deg, rgba(255, 83, 25, 0.2) 0%, rgba(26, 0, 0, 0.8) 100%);
  border-color: #ff5319;
  box-shadow: 0 15px 40px rgba(255, 0, 0, 0.3);
}

.news-date {
  background: linear-gradient(135deg, #ff5319 0%, #ff0000 100%);
  color: #000;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  min-width: 80px;
  box-shadow: 0 5px 20px rgba(255, 83, 25, 0.4);
}

.news-date .day {
  display: block;
  font-size: 28px;
  font-weight: bold;
}

.news-date .month {
  display: block;
  font-size: 16px;
  font-weight: bold;
}

.news-content h3 {
  font-size: 20px;
  color: #ff5319;
  margin-bottom: 10px;
  text-shadow: 0 0 10px rgba(255, 83, 25, 0.5);
}

.news-content p {
  color: #fff;
  margin-bottom: 15px;
  font-size: 16px;
}

.read-more {
  color: #ff5319;
  font-weight: bold;
  transition: all 300ms ease;
  text-decoration: none;
  text-shadow: 0 0 5px rgba(255, 83, 25, 0.3);
}

.read-more:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Featured Section */
.featured-section {
  background: 
    linear-gradient(135deg, rgba(255, 0, 0, 0.15) 0%, rgba(26, 0, 0, 0.9) 50%, rgba(0, 0, 0, 0.95) 100%),
    radial-gradient(circle at 80% 20%, rgba(255, 83, 25, 0.1) 0%, transparent 60%);
  padding: 80px 0;
  position: relative;
}

.featured-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(45deg, transparent 48%, rgba(255, 0, 0, 0.02) 48%, rgba(255, 0, 0, 0.02) 52%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, rgba(255, 0, 0, 0.02) 48%, rgba(255, 0, 0, 0.02) 52%, transparent 52%);
  background-size: 30px 30px;
  pointer-events: none;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  position: relative;
  z-index: 1;
}

.featured-item {
  background: linear-gradient(135deg, rgba(26, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
  border-radius: 15px;
  overflow: hidden;
  transition: all 500ms ease;
  display: block;
  border: 2px solid rgba(255, 0, 0, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.featured-item:hover {
  transform: translateY(-10px);
  background: linear-gradient(135deg, rgba(255, 83, 25, 0.3) 0%, rgba(26, 0, 0, 0.8) 100%);
  border-color: #ff5319;
  box-shadow: 0 20px 50px rgba(255, 0, 0, 0.4);
}

.featured-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.featured-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.featured-item:hover .featured-image img {
  transform: scale(1.15);
}

.featured-info {
  padding: 25px;
}

.featured-info h3 {
  font-size: 24px;
  color: #ff5319;
  margin-bottom: 10px;
  text-shadow: 0 0 10px rgba(255, 83, 25, 0.5);
}

.featured-info p {
  color: #fff;
  margin-bottom: 15px;
  font-size: 16px;
}

/* Contacts Section */
.contacts-section {
  background: 
    linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(26, 0, 0, 0.9) 50%, rgba(255, 0, 0, 0.15) 100%),
    radial-gradient(circle at 30% 50%, rgba(255, 0, 0, 0.05) 0%, transparent 60%);
  padding: 80px 0;
  position: relative;
}

.contacts-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="smallGrid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,0,0,0.03)" stroke-width="0.5"/></pattern></defs><rect width="100%" height="100%" fill="url(%23smallGrid)"/></svg>');
  pointer-events: none;
}

.contacts-content {
  display: flex;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.contact-info {
  flex: 1;
}

.contact-info h3 {
  font-size: 32px;
  color: #ff5319;
  margin-bottom: 30px;
  text-shadow: 0 0 15px rgba(255, 83, 25, 0.5);
}

.contact-item {
  margin-bottom: 25px;
}

.contact-item h4 {
  font-size: 20px;
  color: #ff5319;
  margin-bottom: 5px;
  text-shadow: 0 0 10px rgba(255, 83, 25, 0.4);
}

.contact-item p {
  font-size: 18px;
  color: #fff;
}

.contact-form {
  flex: 1;
}

.contact-form label {
  display: block;
  color: #fff;
  margin-bottom: 5px;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(26, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
  border: 2px solid rgba(255, 0, 0, 0.3);
  border-radius: 10px;
  color: #fff;
  font-size: 16px;
  font-family: "Anta", sans-serif;
  transition: all 300ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #ff5319;
  background: linear-gradient(135deg, rgba(255, 83, 25, 0.15) 0%, rgba(26, 0, 0, 0.6) 100%);
  box-shadow: 0 0 20px rgba(255, 83, 25, 0.3);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.contact-form button[type="submit"] {
  background: linear-gradient(135deg, #ff5319 0%, #ff0000 100%);
  color: #000;
  border: none;
  padding: 15px 40px;
  border-radius: 50px;
  font-size: 18px;
  cursor: pointer;
  transition: all 500ms ease;
  font-family: "Anta", sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: 100%;
  margin-top: 10px;
  box-shadow: 0 5px 20px rgba(255, 83, 25, 0.4);
}

.contact-form button[type="submit"]:hover {
  background: linear-gradient(135deg, #ff0000 0%, #ff5319 100%);
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(255, 83, 25, 0.6);
}

.contact-form button[type="submit"]:active {
  transform: scale(0.95);
}

/* Social Links */
.social-links {
  margin-top: 30px;
}

.social-links h4 {
  font-size: 20px;
  color: #ff5319;
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(255, 83, 25, 0.4);
}

.social-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  background: linear-gradient(135deg, rgba(26, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
  border-radius: 8px;
  color: #fff;
  transition: all 300ms ease;
  border: 2px solid rgba(255, 0, 0, 0.3);
  font-size: 14px;
  text-decoration: none;
}

.social-link:hover {
  background: linear-gradient(135deg, rgba(255, 83, 25, 0.3) 0%, rgba(26, 0, 0, 0.8) 100%);
  border-color: #ff5319;
  transform: translateY(-3px);
  color: #ff5319;
  box-shadow: 0 5px 15px rgba(255, 83, 25, 0.3);
}

.social-icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.social-link span:last-child {
  font-weight: bold;
}

/* Success Message */
.success-message {
  background: linear-gradient(135deg, rgba(255, 83, 25, 0.3) 0%, rgba(26, 0, 0, 0.8) 100%);
  border: 2px solid #ff5319;
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
  text-align: center;
  animation: fadeIn 0.5s ease;
  box-shadow: 0 10px 30px rgba(255, 83, 25, 0.4);
}

.success-message p {
  color: #fff;
  font-size: 16px;
  margin: 0;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =============================================
   HAMBURGER MENU BUTTON
   ============================================= */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  float: right;
  margin-top: 6px;
  z-index: 1000;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: all 300ms ease;
  transform-origin: center;
}

/* Animate into X when open */
.nav-toggle--open span:nth-child(1) {
  transform: translateY(9.5px) rotate(45deg);
}
.nav-toggle--open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle--open span:nth-child(3) {
  transform: translateY(-9.5px) rotate(-45deg);
}

/* =============================================
   RESPONSIVE — TABLET (max 1200px)
   ============================================= */
@media (max-width: 1200px) {
  .about-content,
  .contacts-content {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    max-width: 100%;
  }

  header nav {
    width: 65%;
  }

  #model-container {
    width: 320px;
    height: 320px;
  }

  .contacts-content {
    gap: 40px;
  }
}

/* =============================================
   RESPONSIVE — SMALL TABLET (max 900px)
   ============================================= */
@media (max-width: 900px) {
  .details-container {
    flex-direction: column;
    padding: 40px 20px;
    text-align: center;
  }

  .details-image {
    flex: none;
    width: 80%;
    max-width: 380px;
    margin: 0 auto;
  }

  .details-text h2 {
    font-size: 24px;
  }

  .details-text ul {
    text-align: left;
    display: inline-block;
  }

  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 60px;
  }

  .hero--info {
    width: 100%;
    text-align: center;
    padding-top: 30px;
  }

  #model-container {
    position: relative;
    top: 0;
    width: 280px;
    height: 280px;
    margin: 30px auto 0;
  }
}

/* =============================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================= */
@media (max-width: 768px) {
  /* Show hamburger, hide desktop nav */
  .nav-toggle {
    display: flex;
  }

  header {
    padding: 20px 0;
    position: relative;
  }

  header.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  header .logo {
    font-size: 20px;
  }

  /* Mobile nav drawer */
  header nav {
    float: none;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 400ms ease;
    margin-top: 0;
  }

  header nav.nav-open {
    max-height: 500px;
    margin-top: 15px;
  }

  header nav ul {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
    background: rgba(10, 0, 0, 0.97);
    border: 1px solid rgba(255, 83, 25, 0.3);
    border-radius: 12px;
    padding: 10px 0;
    overflow: hidden;
  }

  header nav ul li {
    display: block;
    width: 100%;
  }

  header nav ul li a {
    display: block;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255, 0, 0, 0.1);
    font-size: 16px;
    transition: background 200ms ease, color 200ms ease;
  }

  header nav ul li:last-child a {
    border-bottom: none;
  }

  header nav ul li:not(.btn):hover a,
  header nav ul li.active a {
    background: rgba(255, 83, 25, 0.12);
    color: #ff5319;
  }

  /* Style Contacts button like a row item on mobile */
  header nav ul li.btn a {
    background: linear-gradient(135deg, rgba(255, 83, 25, 0.3) 0%, rgba(200, 0, 0, 0.3) 100%);
    border-radius: 0;
    padding: 14px 24px;
    color: #ff5319;
    font-weight: bold;
  }

  header nav ul li.btn a:hover {
    background: linear-gradient(135deg, #ff5319, #ff0000);
    color: #000;
    transform: none;
    box-shadow: none;
  }

  .nav-line {
    display: none;
  }

  /* Hero */
  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 50px;
  }

  .hero--info {
    width: 100%;
    text-align: center;
    padding-top: 30px;
  }

  #model-container {
    position: relative;
    top: 0;
    width: 100%;
    max-width: 340px;
    height: 280px;
    margin: 30px auto 0;
  }

  /* Portfolio & Featured → 2-column compact grid */
  .portfolio-grid,
  .featured-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  /* News & Tools → single column */
  .news-grid,
  .tools-grid {
    grid-template-columns: 1fr;
  }

  /* Compact portfolio cards */
  .portfolio-item {
    border-radius: 10px;
    border-width: 1px;
  }

  .portfolio-image {
    height: 110px;
  }

  .portfolio-info {
    padding: 10px 10px 12px;
  }

  .portfolio-info h3 {
    font-size: 13px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .portfolio-info p {
    font-size: 11px;
    margin-bottom: 8px;
    line-height: 1.4;
    overflow: hidden;
    line-clamp: 2;
  }

  .category {
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 20px;
  }

  /* Compact featured cards */
  .featured-item {
    border-radius: 10px;
    border-width: 1px;
  }

  .featured-image {
    height: 100px;
  }

  .featured-info {
    padding: 10px 10px 12px;
  }

  .featured-info h3 {
    font-size: 12px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .featured-info p {
    font-size: 11px;
    margin-bottom: 0;
    line-height: 1.35;
    overflow: hidden;
    line-clamp: 2;
  }

  /* Compact news cards */
  .news-item {
    padding: 16px;
    gap: 12px;
    border-radius: 10px;
    border-width: 1px;
  }

  .news-content h3 {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .news-content p {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .section-header h2 {
    font-size: 32px;
  }

  .section-header p {
    font-size: 16px;
  }

  .container {
    width: 95%;
  }

  .news-item {
    flex-direction: column;
    text-align: center;
  }

  .contacts-content {
    flex-direction: column;
    gap: 40px;
  }

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

  .social-icons {
    justify-content: center;
    gap: 10px;
  }

  .social-link {
    padding: 10px 14px;
    font-size: 14px;
    min-height: 44px; /* touch target */
  }

  /* Sections padding */
  .portfolio-section,
  .news-section,
  .featured-section,
  .contacts-section {
    padding: 40px 0;
  }

  .about-section {
    padding: 30px 0;
  }
}

/* =============================================
   RESPONSIVE — SMALL MOBILE (max 480px)
   ============================================= */
@media (max-width: 480px) {
  header .logo {
    font-size: 17px;
  }

  .hero--info h1 {
    font-size: 17px;
  }

  .hero--info h2 {
    font-size: 15px;
  }

  .hero--info p {
    font-size: 14px;
    margin: 20px 0;
  }

  #model-container {
    height: 240px;
  }

  .section-header h2 {
    font-size: 26px;
  }

  .section-header p {
    font-size: 15px;
  }

  .about-text h3,
  .contact-info h3 {
    font-size: 20px;
  }

  .about-text p,
  .contact-item p {
    font-size: 14px;
  }

  .portfolio-item,
  .news-item {
    border-radius: 8px;
  }

  .portfolio-image {
    height: 90px;
  }

  .portfolio-info {
    padding: 8px 8px 10px;
  }

  .portfolio-info h3 {
    font-size: 12px;
  }

  .portfolio-info p {
    font-size: 10px;
  }

  .category {
    font-size: 9px;
    padding: 2px 6px;
  }

  .featured-image {
    height: 80px;
  }

  .featured-info {
    padding: 8px 8px 10px;
  }

  .featured-info h3 {
    font-size: 11px;
  }

  .featured-info p {
    font-size: 10px;
  }

  .social-icons {
    flex-direction: column;
    align-items: center;
  }

  .social-link {
    width: 180px;
    justify-content: center;
  }

  .details-image {
    width: 92%;
  }

  .details-text h2 {
    font-size: 20px;
  }

  .details-text p {
    font-size: 14px;
  }

  .contact-info h3 {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .contact-item h4 {
    font-size: 17px;
  }

  .contact-item p {
    font-size: 15px;
  }

  .contact-form button[type="submit"] {
    font-size: 16px;
    padding: 14px 30px;
    min-height: 50px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 12px;
    font-size: 15px;
    min-height: 44px; /* touch target */
  }

  .featured-info h3 {
    font-size: 18px;
  }

  .news-content h3 {
    font-size: 15px;
  }

  .news-content p,
  .featured-info p {
    font-size: 13px;
  }
}
/* Linked portfolio card — pointer cursor only, no visual change */
.portfolio-item--linked {
  cursor: pointer;
}
/* DGS Tools Section */
.tools-section {
  background:
    linear-gradient(135deg, rgba(0,0,0,0.95) 0%, rgba(26,0,0,0.9) 50%, rgba(255,0,0,0.15) 100%),
    radial-gradient(circle at 60% 40%, rgba(255,83,25,0.08) 0%, transparent 60%);
  padding: 40px 0;
  position: relative;
}

.tools-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(255, 83, 25, 0.08);
  border: 1px dashed rgba(255, 83, 25, 0.5);
  border-radius: 10px;
  padding: 10px 16px;
  margin-bottom: 24px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.disclaimer-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.tools-disclaimer p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.tool-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, rgba(26,0,0,0.4) 0%, rgba(0,0,0,0.6) 100%);
  border: 2px solid rgba(255,0,0,0.2);
  border-radius: 15px;
  padding: 16px 20px;
  text-decoration: none;
  color: #fff;
  transition: all 400ms ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}

.tool-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,83,25,0.15) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 400ms ease;
}

.tool-card:hover {
  border-color: #ff5319;
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(255,0,0,0.35);
}

.tool-card:hover::before {
  opacity: 1;
}

.tool-icon {
  font-size: 24px;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,83,25,0.15);
  border-radius: 10px;
  border: 1px solid rgba(255,83,25,0.3);
  position: relative;
  z-index: 1;
}

.tool-info {
  flex: 1;
  position: relative;
  z-index: 1;
}

.tool-info h3 {
  font-size: 18px;
  color: #ff5319;
  margin-bottom: 4px;
  text-shadow: 0 0 10px rgba(255,83,25,0.4);
}

.tool-info p {
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.tool-tag {
  background: linear-gradient(135deg, #ff5319 0%, #ff0000 100%);
  color: #000;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(255,83,25,0.35);
}

.tool-arrow {
  font-size: 22px;
  color: #ff5319;
  flex-shrink: 0;
  opacity: 0.5;
  transition: all 300ms ease;
  position: relative;
  z-index: 1;
}

.tool-card:hover .tool-arrow {
  opacity: 1;
  transform: translateX(4px);
}



.tool-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  color: #ff5319; /* your accent color */
}

.tool-icon svg {
  width: 24px;
  height: 24px;
}