* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  color: #fff;
  overflow-x: hidden;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 10%;
  background: rgba(17, 56, 95, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
  position: relative;
  font-size: 30px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  z-index: 1002;
}

/* Hamburger Menu - Hidden on Desktop */
.hamburger {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1002;
  gap: 5px;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  margin-left: 35px;
  transition: all 0.3s ease;
  position: relative;
}

.navbar a:hover, 
.navbar .active {
  color: #0e73ae;
}

.navbar a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #0e73ae;
  transition: width 0.3s ease;
}

.navbar a:hover::after {
  width: 100%;
}

.home {
  min-height: 100vh;
  background: linear-gradient(135deg, #11385f 0%, #1a4971 50%, #234a73 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 10% 50px;
  position: relative;
}

.home::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><polygon points="30 0 60 30 30 60 0 30"/></g></svg>') repeat;
  z-index: 1;
}

.home-content {
  max-width: 600px;
  z-index: 2;
  position: relative;
  animation: slideInLeft 1s ease-out;
  flex: 1;
}

.home-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  position: relative;
  animation: slideInRight 1s ease-out;
}

.home-image img {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #6cc4f7;
  box-shadow: 0 20px 40px rgba(108, 196, 247, 0.3);
  transition: all 0.3s ease;
}

.home-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 30px 60px rgba(108, 196, 247, 0.4);
}

.home-content h1 {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(45deg, #fff, #6cc4f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home-content h3 {
  font-size: 30px;
  font-weight: 600;
  color: #52beff;
  margin-bottom: 20px;
}

.home-content p {
  font-size: 16px;
  margin: 20px 0 40px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.btn-box {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.btn-box a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 30px;
  background: transparent;
  border: 2px solid #6cc4f7;
  border-radius: 8px;
  font-size: 16px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-box a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #56a7f2, #6cc4f7);
  transition: left 0.3s ease;
  z-index: -1;
}

.btn-box a:hover::before {
  left: 0;
}

.btn-box a:hover {
  color: #fff;
  transform: translateY(-2px);
}

.home-sci {
  position: absolute;
  bottom: 40px;
  left: 10%;
  display: flex;
  gap: 15px;
  z-index: 2;
  animation: slideInUp 1s ease-out 0.5s both;
}

.home-sci a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid #56a7f2;
  border-radius: 50%;
  font-size: 20px;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.home-sci a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #56a7f2;
  transition: width 0.3s ease;
  z-index: -1;
}

.home-sci a:hover::before {
  width: 100%;
}

.home-sci a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(86, 167, 242, 0.3);
}

.about, .services, .contact {
  padding: 100px 10% 50px;
  background: #0a1929;
}

.section-title {
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 50px;
  background: linear-gradient(45deg, #fff, #6cc4f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-content p {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(108, 196, 247, 0.1), transparent);
  transform: rotate(45deg);
  transition: all 0.6s ease;
  opacity: 0;
}

.service-box:hover::before {
  opacity: 1;
  animation: shine 0.6s ease-in-out;
}

.service-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(108, 196, 247, 0.2);
  border-color: rgba(108, 196, 247, 0.3);
}

.service-box i {
  font-size: 48px;
  color: #6cc4f7;
  margin-bottom: 20px;
}

.service-box h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #fff;
}

.service-box p {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.contact {
  text-align: center;
}

.contact p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
}

.contact-socials {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.contact-socials a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 2px solid #56a7f2;
  border-radius: 50%;
  font-size: 24px;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-socials a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #56a7f2;
  transition: width 0.3s ease;
  z-index: -1;
}

.contact-socials a:hover::before {
  width: 100%;
}

.contact-socials a:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 15px 30px rgba(86, 167, 242, 0.4);
}

footer {
  background: #051622;
  padding: 30px 10%;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

/* ===== WORKS GALLERY STYLES ===== */
.works {
  padding: 100px 10% 50px;
  background: #0a1929;
}

.works-filter {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 25px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid #56a7f2;
  border-radius: 25px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
}

.filter-btn.active,
.filter-btn:hover {
  background: #56a7f2;
  transform: translateY(-2px);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.work-item {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.work-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(108, 196, 247, 0.3);
  border-color: rgba(108, 196, 247, 0.5);
}

.work-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.work-item-content {
  padding: 25px;
}

.work-item h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #6cc4f7;
}

.work-item p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
  line-height: 1.5;
}

.work-item-type {
  display: inline-block;
  background: rgba(108, 196, 247, 0.2);
  color: #6cc4f7;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 500;
}

.work-actions {
  margin-top: 15px;
  display: flex;
  gap: 10px;
}

.work-actions button {
  flex: 1;
  padding: 8px;
  border: 1px solid #56a7f2;
  background: transparent;
  color: #56a7f2;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 12px;
  font-family: 'Poppins', sans-serif;
}

.work-actions button:hover {
  background: #56a7f2;
  color: #fff;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: rgba(255, 255, 255, 0.6);
  grid-column: 1 / -1;
}

.empty-state i {
  font-size: 64px;
  margin-bottom: 20px;
  color: rgba(108, 196, 247, 0.3);
}

/* ===== ADMIN PANEL STYLES ===== */
.admin-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 400px;
  height: 100vh;
  background: linear-gradient(135deg, #11385f 0%, #1a4971 100%);
  border-left: 2px solid rgba(108, 196, 247, 0.3);
  padding: 80px 30px 30px;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  transition: right 0.4s ease;
  z-index: 1001;
  overflow-y: auto;
}

.admin-panel.open {
  right: 0;
}

.admin-panel h2 {
  color: #6cc4f7;
  margin-bottom: 30px;
  font-size: 24px;
}

.admin-panel h3 {
  color: #6cc4f7;
  margin-bottom: 15px;
  font-size: 20px;
}

.admin-dashboard {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
}

.dashboard-stats div {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.9);
}

.dashboard-stats span {
  color: #6cc4f7;
  font-weight: 600;
}

.admin-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 500;
  color: #fff;
  font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 14px;
  transition: border-color 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #6cc4f7;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.file-upload {
  position: relative;
  display: inline-block;
  cursor: pointer;
  width: 100%;
}

.file-upload input[type="file"] {
  position: absolute;
  left: -9999px;
}

.file-upload-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(108, 196, 247, 0.2);
  border: 2px dashed #6cc4f7;
  border-radius: 8px;
  color: #6cc4f7;
  font-weight: 500;
  transition: all 0.3s ease;
  width: 100%;
}

.file-upload:hover .file-upload-btn {
  background: rgba(108, 196, 247, 0.3);
}

.upload-btn {
  background: linear-gradient(45deg, #56a7f2, #6cc4f7);
  border: none;
  color: #fff;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.upload-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(108, 196, 247, 0.3);
}

.close-admin {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-admin:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ===== MODAL STYLES ===== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal.open {
  display: flex;
}

.modal-content {
  background: #11385f;
  padding: 30px;
  border-radius: 15px;
  max-width: 90%;
  max-height: 90%;
  position: relative;
  overflow: auto;
}

/* Larger modal for PDFs */
.modal-content:has(iframe) {
  max-width: 95%;
  max-height: 95%;
}

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

.modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

/* ===== MOBILE RESPONSIVENESS ===== */
@media (max-width: 768px) {
  /* Show hamburger menu on mobile */
  .hamburger {
    display: flex;
  }

  .header {
    padding: 15px 5%;
  }

  .logo {
    font-size: 22px;
  }

  /* Hide navigation by default on mobile */
  .navbar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 75%;
    height: 100vh;
    background: rgba(17, 56, 95, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    transition: left 0.4s ease;
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.7);
    z-index: 1001;
  }

  /* Show navigation when active */
  .navbar.mobile-active {
    left: 0;
  }

  .navbar a {
    font-size: 18px;
    margin: 15px 0;
    margin-left: 0;
    padding: 12px 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    width: 85%;
    text-align: center;
    display: block;
  }

  .navbar a:hover {
    background: rgba(108, 196, 247, 0.3);
  }

  .navbar a::after {
    display: none;
  }

  .home {
    min-height: 100vh;
    padding: 100px 5% 60px;
    text-align: center;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
  }

  .home-image {
    order: 1;
  }

  .home-content {
    order: 2;
  }

  .home-image img {
    width: 280px;
    height: 280px;
  }

  .home-content h1 {
    font-size: 36px;
  }

  .home-content h3 {
    font-size: 18px;
    line-height: 1.4;
  }

  .home-content p {
    font-size: 14px;
    line-height: 1.6;
  }

  .btn-box {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .btn-box a {
    width: 100%;
    max-width: 200px;
    padding: 10px 20px;
    font-size: 14px;
  }

  .home-sci {
    position: static;
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 15px;
  }

  .home-sci a {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }

  .about, .services, .contact, .works {
    padding: 80px 5% 40px;
  }

  .section-title {
    font-size: 32px;
  }

  .about-content p {
    font-size: 16px;
  }

  .services-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-box {
    padding: 30px 20px;
  }

  .contact-socials {
    flex-wrap: wrap;
    gap: 20px;
  }

  .works-filter {
    gap: 10px;
    padding: 0 10px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 13px;
  }

  .works-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .admin-panel {
    width: 100%;
    right: -100%;
    padding: 70px 20px 20px;
  }

  .modal-content {
    padding: 20px;
    max-width: 95%;
  }
}

/* Tablet Responsiveness */
@media (min-width: 769px) and (max-width: 1024px) {
  .header {
    padding: 15px 5%;
  }

  .navbar a {
    margin-left: 20px;
    font-size: 14px;
  }

  .home {
    padding: 100px 5% 50px;
  }

  .home-image img {
    width: 300px;
    height: 300px;
  }

  .home-content h1 {
    font-size: 42px;
  }

  .home-content h3 {
    font-size: 24px;
  }

  .services-container {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .works-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Hide scrollbar but keep functionality */
body::-webkit-scrollbar {
  width: 8px;
}

body::-webkit-scrollbar-track {
  background: #051622;
}

body::-webkit-scrollbar-thumb {
  background: #56a7f2;
  border-radius: 4px;
}

body::-webkit-scrollbar-thumb:hover {
  background: #6cc4f7;
}