/* 
---------------------------------------------
Brand Influence Press Custom Styles
Modern Color Theme & Enhancements
--------------------------------------------- 
*/

/* Modern Color Scheme Variables */
:root {
  --primary-blue: #0099ff;
  --primary-dark-blue: #0066ff;
  --primary-light-blue: #00d4ff;
  --accent-orange: #ff6b35;
  --accent-yellow: #f7931e;
  --dark-bg: #0a1628;
  --text-dark: #1a1a1a;
  --text-light: #666666;
  --text-muted: #999999;
}

/* Override Font Family */
html, body {
  font-family: 'Inter', 'Poppins', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
}

/* Updated Color Selections */
::selection {
  background: var(--primary-blue);
  color: #fff;
}

::-moz-selection {
  background: var(--primary-blue);
  color: #fff;
}

/* Modern Gradient Updates */
.section-heading .line-dec {
  background: linear-gradient(90deg, var(--primary-light-blue) 0%, var(--primary-dark-blue) 100%);
  height: 3px;
  border-radius: 2px;
}

.section-heading h2 em {
  color: var(--primary-blue);
  font-style: normal;
}

.section-heading h2 span {
  background: linear-gradient(90deg, var(--accent-orange) 0%, var(--accent-yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Modern Button Styles */
.main-button a {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark-blue) 100%);
  box-shadow: 0 4px 15px rgba(0, 153, 255, 0.3);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.main-button a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-dark-blue) 0%, var(--primary-blue) 100%);
  transition: left 0.5s ease;
  z-index: -1;
}

.main-button a:hover::before {
  left: 0;
}

.main-button a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 153, 255, 0.4);
}

.second-button a {
  background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-yellow) 100%);
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
  transition: all 0.4s ease;
}

.second-button a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Header Gradient Update */
.header-area {
  background: linear-gradient(135deg, var(--primary-dark-blue) 0%, var(--primary-blue) 50%, var(--primary-light-blue) 100%);
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.3);
}

/* Powerful Logo Styling */
.logo-powerful {
  position: relative;
  display: inline-block;
  transition: all 0.4s ease;
  padding: 8px 20px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.logo-powerful::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--primary-light-blue), var(--accent-orange));
  border-radius: 50px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  filter: blur(8px);
}

.logo-powerful:hover::before {
  opacity: 0.6;
  animation: logoGlow 2s ease-in-out infinite;
}

.logo-powerful:hover {
  transform: translateY(-2px) scale(1.02);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.logo-powerful img {
  filter: drop-shadow(0 2px 8px rgba(0, 153, 255, 0.3));
  transition: all 0.4s ease;
}

.logo-powerful:hover img {
  filter: drop-shadow(0 4px 12px rgba(0, 153, 255, 0.5));
}

@keyframes logoGlow {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.8;
  }
}

/* Background header logo styling */
.background-header .logo-powerful {
  background: rgba(0, 102, 255, 0.05);
  border-color: rgba(0, 153, 255, 0.15);
}

.background-header .logo-powerful:hover {
  background: rgba(0, 102, 255, 0.1);
  box-shadow: 0 5px 20px rgba(0, 153, 255, 0.2);
}

/* Preloader Colors */
.preloader-inner .dot,
.preloader-inner .dots span {
  background: var(--primary-blue);
}

/* Service Items Enhancement */
.service-item {
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 15px;
  margin-bottom: 30px;
  transition: all 0.4s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.service-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue) 0%, var(--accent-orange) 100%);
  transition: left 0.5s ease;
}

.service-item:hover::before {
  left: 0;
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 153, 255, 0.15);
}

.service-item .icon {
  margin-bottom: 20px;
}

.service-item .icon img {
  border-radius: 12px;
  transition: all 0.4s ease;
}

.service-item:hover .icon img {
  transform: scale(1.1) rotate(2deg);
}

.service-item h4 {
  color: var(--text-dark);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.4;
}

.service-item p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* Portfolio/Projects Enhancement */
.projects .item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
}

.projects .item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
  transition: all 0.4s ease;
}

.projects .item:hover::before {
  background: linear-gradient(180deg, rgba(0, 153, 255, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.projects .item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 153, 255, 0.2);
}

.projects .item img {
  transition: all 0.5s ease;
}

.projects .item:hover img {
  transform: scale(1.1);
}

.projects .down-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  z-index: 2;
}

.projects .down-content h4 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.projects .down-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  margin: 0;
}

/* About Section Enhancements */
.about-content {
  margin-top: 30px;
  margin-bottom: 30px;
}

.about-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.about-item:hover {
  background: #ffffff;
  box-shadow: 0 5px 20px rgba(0, 153, 255, 0.1);
  transform: translateX(10px);
}

.about-item .icon-box {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark-blue) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  transition: all 0.3s ease;
}

.about-item:hover .icon-box {
  transform: rotate(10deg) scale(1.1);
}

.about-item .icon-box i {
  color: #ffffff;
  font-size: 24px;
}

.about-item .text-content h4 {
  color: var(--text-dark);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.about-item .text-content p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* Contact Form Enhancements */
.contact-info-section {
  position: sticky;
  top: 120px;
}

.contact-info-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

#contact-form fieldset {
  margin-bottom: 20px;
}

#contact-form input,
#contact-form textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 15px;
  color: var(--text-dark);
  transition: all 0.3s ease;
  background: #ffffff;
}

#contact-form input:focus,
#contact-form textarea:focus {
  border-color: var(--primary-blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 153, 255, 0.1);
}

#contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.orange-button {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark-blue) 100%);
  color: #ffffff;
  padding: 15px 40px;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(0, 153, 255, 0.3);
}

.orange-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 153, 255, 0.4);
}

.orange-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.info-item {
  text-align: center;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 12px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.info-item:hover {
  background: #ffffff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-5px);
}

.info-item i {
  font-size: 32px;
  color: var(--primary-blue);
  margin-bottom: 15px;
  display: block;
}

.info-item h4 {
  color: var(--text-dark);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}

.info-item a,
.info-item p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.info-item a:hover {
  color: var(--primary-blue);
}

/* Modern Footer Styles */
footer {
  background: linear-gradient(135deg, var(--dark-bg) 0%, #0d1f3a 100%);
  padding: 60px 0 0;
  color: #ffffff;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-blue) 0%, var(--accent-orange) 100%);
}

.footer-widget {
  margin-bottom: 40px;
}

.footer-widget h4 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.footer-widget h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--primary-blue);
}

.footer-widget p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.footer-contact i {
  color: var(--primary-blue);
  margin-right: 10px;
  font-size: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-links a::before {
  content: '→';
  position: absolute;
  left: -15px;
  opacity: 0;
  transition: all 0.3s ease;
  color: var(--primary-blue);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 20px;
}

.footer-links a:hover::before {
  opacity: 1;
  left: 0;
}

/* Newsletter Form */
.newsletter-form {
  display: flex;
  margin-top: 20px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 15px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px 0 0 25px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 14px;
  transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary-blue);
  background: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark-blue) 100%);
  border: none;
  border-radius: 0 25px 25px 0;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background: linear-gradient(135deg, var(--primary-dark-blue) 0%, var(--primary-blue) 100%);
  transform: scale(1.05);
}

/* Footer Bottom */
.footer-bottom {
  margin-top: 40px;
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin: 0;
}

.footer-bottom i.fa-heart {
  color: var(--accent-orange);
  margin: 0 5px;
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

/* Pre-header updates */
.pre-header {
  background: var(--dark-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pre-header .left-info ul li a,
.pre-header .left-info ul li span {
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.pre-header .left-info ul li a:hover {
  color: var(--primary-light-blue);
}

.pre-header .left-info ul li i {
  color: var(--primary-blue);
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Additional Animation Classes */
.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading Spinner */
.fa-spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .about-item {
    flex-direction: column;
    text-align: center;
  }
  
  .about-item .icon-box {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .contact-info-section {
    position: relative;
    top: 0;
  }
  
  .footer-widget {
    margin-bottom: 30px;
  }
}

@media (max-width: 767px) {
  .service-item,
  .about-item,
  .info-item {
    margin-bottom: 20px;
  }
  
  footer {
    padding: 40px 0 0;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input,
  .newsletter-form button {
    border-radius: 25px;
    width: 100%;
  }
  
  .newsletter-form button {
    margin-top: 10px;
  }
}

/* ==========================================
   Legal Pages (Privacy Policy & Terms of Service)
   ========================================== */

.page-heading {
  background: linear-gradient(135deg, var(--dark-bg) 0%, #1a2642 100%);
  padding: 120px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-heading::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(0, 153, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.page-heading .header-text {
  position: relative;
  z-index: 1;
}

.page-heading h1 {
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 15px;
  background: linear-gradient(135deg, var(--primary-light-blue) 0%, var(--primary-dark-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-heading p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  margin: 5px 0;
}

.page-heading p strong {
  color: var(--primary-blue);
}

/* Legal Content Styling */
.legal-content {
  padding: 30px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-content section {
  margin-bottom: 40px;
}

.legal-content h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(0, 153, 255, 0.2);
}

.legal-content h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--primary-light-blue);
  margin-top: 25px;
  margin-bottom: 15px;
}

.legal-content p {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
}

.legal-content ul {
  margin: 15px 0 15px 30px;
  padding: 0;
}

.legal-content ul li {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
  position: relative;
  padding-left: 10px;
}

.legal-content ul li::before {
  content: '▸';
  color: var(--primary-blue);
  position: absolute;
  left: -15px;
  font-weight: bold;
}

.legal-content ul li strong {
  color: var(--primary-light-blue);
  font-weight: 600;
}

.legal-content a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
}

.legal-content a:hover {
  color: var(--primary-light-blue);
  border-bottom-color: var(--primary-light-blue);
}

.contact-info {
  background: rgba(0, 153, 255, 0.05);
  padding: 30px;
  border-radius: 15px;
  margin-top: 20px;
  border-left: 4px solid var(--primary-blue);
}

.contact-info p {
  margin-bottom: 10px;
}

.contact-info strong {
  color: var(--primary-light-blue);
}

/* Button Styles for Legal Pages */
.btn-outline-primary {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid var(--primary-blue);
  border-radius: 30px;
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--primary-blue);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 153, 255, 0.3);
}

/* Responsive Legal Pages */
@media (max-width: 992px) {
  .page-heading h1 {
    font-size: 36px;
  }
  
  .legal-content {
    padding: 20px;
  }
  
  .legal-content h2 {
    font-size: 28px;
  }
  
  .legal-content h3 {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  .page-heading {
    padding: 100px 0 40px;
  }
  
  .page-heading h1 {
    font-size: 28px;
  }
  
  .legal-content {
    padding: 15px;
  }
  
  .legal-content h2 {
    font-size: 24px;
  }
  
  .legal-content h3 {
    font-size: 18px;
  }
  
  .legal-content p,
  .legal-content ul li {
    font-size: 14px;
  }
  
  .btn-primary,
  .btn-outline-primary {
    display: block;
    width: 100%;
    margin: 10px 0;
  }
}

