/*-- Use For Custom Styling --*/
.logo-left img {
  margin-left: -20px;
}

/* Responsive Logo Sizing */
@media (max-width: 768px) {
  .navbar-brand img {
    width: 200px !important;
    height: auto !important;
  }
  
  .sidemenu-image img {
    width: 120px !important;
    height: auto !important;
  }
}

@media (max-width: 480px) {
  .navbar-brand img {
    width: 150px !important;
    height: auto !important;
  }
  
  .sidemenu-image img {
    width: 100px !important;
    height: auto !important;
  }
}

@media (max-width: 320px) {
  .navbar-brand img {
    width: 120px !important;
    height: auto !important;
  }
  
  .sidemenu-image img {
    width: 80px !important;
    height: auto !important;
  }
}

/* Move logo slightly upward */
.navbar-brand {
  margin-top: -10px;
}

/* Instagram Icon Mobile Fix - Left Bottom Position */
@media (max-width: 767px) {
  .social-icons-simple {
    position: fixed !important;
    bottom: 20px !important;
    left: 20px !important;
    z-index: 1000 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .social-icons-simple li {
    margin: 0 !important;
    padding: 0 !important;
  }
  
  .social-icons-simple li a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    background-color: rgba(0, 0, 0, 0.7) !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
  }
  
  .social-icons-simple li a:hover {
    background-color: rgba(0, 0, 0, 0.9) !important;
    transform: scale(1.1) !important;
  }
  
  .social-icons-simple li a i {
    font-size: 18px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
  }
  
  .fab.fa-instagram {
    font-size: 18px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
  }
}

@media (max-width: 370px) {
  .social-icons-simple {
    bottom: 15px !important;
    left: 15px !important;
  }
  
  .social-icons-simple li a {
    width: 35px !important;
    height: 35px !important;
    line-height: 35px !important;
  }
  
  .social-icons-simple li a i {
    font-size: 16px !important;
  }
  
  .fab.fa-instagram {
    font-size: 16px !important;
  }
}

/* Toast Notification Styles */
.toast-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 350px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  display: none;
  border-left: 4px solid #d4af37;
  animation: slideInRight 0.3s ease;
}

.toast-notification.success {
  border-left-color: #28a745;
}

.toast-notification.error {
  border-left-color: #dc3545;
}

.toast-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #e9ecef;
  background: #f8f9fa;
  border-radius: 8px 8px 0 0;
}

.toast-header strong {
  color: #333;
  font-size: 14px;
  font-weight: 600;
}

.toast-close {
  background: none;
  border: none;
  font-size: 18px;
  color: #666;
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.toast-close:hover {
  background: #e9ecef;
  color: #333;
}

.toast-body {
  padding: 16px;
  color: #333;
  font-size: 14px;
  line-height: 1.5;
}

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

/* Rectangle Full Width on Mobile Devices */
@media (max-width: 767px) {
  /* Prevent horizontal overflow */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
  }
  
  /* Banner Section Rectangle */
  .banner-section .rectangle {
    width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
  }
  
  /* About Section Rectangle */
  .about-section .rectangle {
    width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
  }
  
  /* Project Section Rectangle */
  .project-section .rectangle {
    width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
  }
  
  /* Contact Section Rectangle */
  .contact-section .rectangle {
    width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
  }
  
  /* Header Rectangle (for standalone pages) */
  .header {
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    width: 100% !important;
  }
  
  .header .container {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
  }
  
  .header .rectangle {
    width: 100vw !important;
    height: 400px !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    position: absolute !important;
    background-color: #d4af37 !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
  }
  
  /* Mobile Content Alignment and Padding */
  .banner-section .rectangle .text,
  .header .rectangle .text {
    position: absolute !important;
    bottom: 40px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 90% !important;
    max-width: none !important;
    text-align: center !important;
    padding: 0 30px !important;
    margin: 0 !important;
  }
  
  .banner-section .rectangle .text h2,
  .header .rectangle .text h2 {
    font-size: 32px;
    color: #fff;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.2;
  }
  
  .banner-section .rectangle .text p,
  .header .rectangle .text p {
    font-size: 14px;
    color: #fff;
    font-weight: 400;
    margin: 0 0 15px 0;
    line-height: 1.5;
  }
  
  .banner-section .rectangle .text .media,
  .header .rectangle .text .media {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 140px;
    padding: 12px 20px;
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-decoration: none;
  }
  
  .banner-section .rectangle .text .media:hover,
  .header .rectangle .text .media:hover {
    background-color: #fff;
    color: #d4af37;
  }
  
  .banner-section .rectangle .text .media i,
  .header .rectangle .text .media i {
    color: #fff;
    margin-right: 8px;
    transition: all 0.3s ease;
  }
  
  .banner-section .rectangle .text .media:hover i,
  .header .rectangle .text .media:hover i {
    color: #d4af37;
  }
  
  .banner-section .rectangle .text .media .media-body,
  .header .rectangle .text .media .media-body {
    color: #fff;
    font-weight: 500;
    transition: all 0.3s ease;
  }
  
  .banner-section .rectangle .text .media:hover .media-body,
  .header .rectangle .text .media:hover .media-body {
    color: #d4af37;
  }
  
  /* Project Section Rectangle Content - Mobile */
  .project-section .rectangle .project-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: none;
    text-align: center;
    padding: 0 30px;
  }
  
  .project-section .project-text h2 {
    color: #fff;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.2;
  }
  
  .project-section .project-text p {
    font-size: 14px;
    color: #fff;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.5;
  }
  
  .project-section .project-text .btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  /* Mobile Toast Adjustments */
  .toast-notification {
    width: 90%;
    right: 5%;
    left: 5%;
  }
}

/* Extra Small Devices */
@media (max-width: 370px) {
  /* Banner Section Rectangle */
  .banner-section .rectangle {
    width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
  }
  
  /* About Section Rectangle */
  .about-section .rectangle {
    width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
  }
  
  /* Project Section Rectangle */
  .project-section .rectangle {
    width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
  }
  
  /* Header Rectangle (for standalone pages) */
  .header {
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    width: 100% !important;
  }
  
  .header .container {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
  }
  
  .header .rectangle {
    width: 100vw !important;
    height: 350px !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    position: absolute !important;
    background-color: #d4af37 !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
  }
  
  /* Extra Small Content Adjustments */
  .banner-section .rectangle .text,
  .header .rectangle .text {
    width: 95%;
    padding: 0 20px;
    bottom: 30px;
  }
  
  .banner-section .rectangle .text h2,
  .header .rectangle .text h2 {
    font-size: 28px;
    margin-bottom: 10px;
  }
  
  .banner-section .rectangle .text p,
  .header .rectangle .text p {
    font-size: 13px;
    margin-bottom: 12px;
  }
  
  .project-section .rectangle .project-text {
    width: 95%;
    padding: 0 20px;
  }
  
  .project-section .project-text h2 {
    font-size: 28px;
    margin-bottom: 10px;
  }
  
  .project-section .project-text p {
    font-size: 13px;
    margin-bottom: 18px;
  }
  
  /* Extra Small Toast Adjustments */
  .toast-notification {
    width: 95%;
    right: 2.5%;
    left: 2.5%;
  }
}