
/* ========================================
   AdkomBack Public Styles
   ======================================== */

/* Root Variables */
:root {
    --primary-color: #f7b733;
    --secondary-color: #fc4a1a;
    --dark-color: #1a1a2e;
    --light-color: #f8f9fa;
    --text-color: #333333;
    --text-muted: #666666;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.08);
    --shadow-md: 0 5px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    overflow-x: hidden;
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease;
}

.loader-logo {
    text-align: center;
    position: relative;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto 0;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========================================
   Navbar Styles
   ======================================== */
.navbar {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: var(--transition);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.navbar-scrolled {
    padding: 0.5rem 0;
    background: rgba(26, 26, 46, 0.98);
}

.navbar-brand img {
    height: 40px;
    transition: var(--transition);
}

.navbar-scrolled .navbar-brand img {
    height: 35px;
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-item.active .nav-link {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-item.active .nav-link::after {
    width: 80%;
}

/* Dropdown Menu */
.dropdown-menu {
    background: rgba(26, 26, 46, 0.98);
    border: none;
    border-radius: 10px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    box-shadow: var(--shadow-lg);
    animation: fadeInDown 0.3s ease;
}

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

.dropdown-item {
    color: rgba(255,255,255,0.8);
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    font-weight: 400;
}

.dropdown-item i {
    width: 20px;
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.dropdown-item:hover {
    background: rgba(247, 183, 51, 0.1);
    color: var(--primary-color);
    padding-left: 2rem;
}

.dropdown-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 0.5rem 0;
}

/* Navbar CTA Button */
.navbar-cta .btn {
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Mobile Menu Toggle */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

.navbar-toggler-icon {
    width: 25px;
    height: 20px;
}

/* ========================================
   WhatsApp Float Button
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
    overflow: hidden;
}

.whatsapp-float:hover {
    color: white;
    transform: scale(1.1);
    text-decoration: none;
}

.whatsapp-text {
    position: absolute;
    right: 70px;
    background: #25d366;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    white-space: nowrap;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
}

.whatsapp-float:hover .whatsapp-text {
    opacity: 1;
    transform: translateX(0);
}

/* Pulse Animation for WhatsApp */
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #25d366;
    border-radius: 50%;
    animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* ========================================
   Back to Top Button
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--primary-color);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

/* ========================================
   Footer Styles
   ======================================== */
.footer {
    background: var(--dark-color);
    color: rgba(255,255,255,0.8);
    position: relative;
    overflow: hidden;
}

/* Circuit Pattern Background */
.footer-circuit-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/circuit-pattern.svg');
    background-size: 400px;
    opacity: 0.02;
    animation: circuit-move 30s linear infinite;
}

/* Footer Main */
.footer-main {
    padding: 80px 0 40px;
    position: relative;
    z-index: 1;
}

.footer-widget {
    margin-bottom: 2rem;
}

.footer-logo {
    height: 45px;
}

.footer-desc {
    color: rgba(255,255,255,0.7);
    margin-bottom: 1.5rem;
}

.footer-title {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.footer-links a::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 0.5rem;
    color: var(--primary-color);
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: 0.75rem;
}


.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    transition: var(--transition
);
}

.social-link:hover {
   background: var(--primary-color);
   color: white;
   transform: translateY(-3px);
}

/* Footer Contact */
.footer-contact .contact-item {
   display: flex;
   align-items: start;
   margin-bottom: 1.25rem;
   gap: 1rem;
}

.footer-contact .contact-item i {
   width: 35px;
   height: 35px;
   background: rgba(247, 183, 51, 0.15);
   border-radius: 8px;
   display: flex;
   align-items: center;
   justify-content: center;
   color: var(--primary-color);
   flex-shrink: 0;
   font-size: 1rem;
}

.footer-contact .contact-item strong {
   color: white;
   font-weight: 500;
}

.footer-contact .contact-item a {
   color: rgba(255,255,255,0.7);
   text-decoration: none;
   transition: var(--transition);
}

.footer-contact .contact-item a:hover {
   color: var(--primary-color);
}

/* Newsletter Section */
.footer-newsletter {
   background: rgba(255,255,255,0.05);
   border-radius: 15px;
   padding: 2rem;
   margin-top: 3rem;
   border: 1px solid rgba(255,255,255,0.1);
}

.newsletter-title {
   color: white;
   font-size: 1.5rem;
   margin-bottom: 0.5rem;
}

.newsletter-title i {
   color: var(--primary-color);
   margin-right: 0.5rem;
}

.newsletter-desc {
   color: rgba(255,255,255,0.7);
}

.newsletter-form .input-group {
   box-shadow: var(--shadow-md);
   border-radius: 50px;
   overflow: hidden;
}

.newsletter-form .form-control {
   background: white;
   border: none;
   padding: 0.75rem 1.5rem;
   font-size: 0.95rem;
   height: 50px;
}

.newsletter-form .form-control:focus {
   box-shadow: none;
}

.newsletter-form .btn {
   padding: 0 2rem;
   font-weight: 600;
   border-radius: 0;
   height: 50px;
}

/* Footer Bottom */
.footer-bottom {
   background: rgba(0,0,0,0.2);
   padding: 1.5rem 0;
   border-top: 1px solid rgba(255,255,255,0.1);
}

.copyright {
   color: rgba(255,255,255,0.7);
   font-size: 0.9rem;
}

.copyright strong {
   color: white;
}

.footer-bottom-links {
   list-style: none;
   padding: 0;
   margin: 0;
   display: flex;
   gap: 2rem;
   justify-content: center;
}

.footer-bottom-links li {
   position: relative;
}

.footer-bottom-links li:not(:last-child)::after {
   content: '|';
   position: absolute;
   right: -1rem;
   color: rgba(255,255,255,0.3);
}

.footer-bottom-links a {
   color: rgba(255,255,255,0.7);
   text-decoration: none;
   font-size: 0.9rem;
   transition: var(--transition);
}

.footer-bottom-links a:hover {
   color: var(--primary-color);
}

/* ========================================
  Button Styles
  ======================================== */
.btn {
   padding: 0.75rem 2rem;
   font-weight: 600;
   border-radius: 50px;
   transition: var(--transition);
   position: relative;
   overflow: hidden;
   z-index: 1;
   display: inline-flex;
   align-items: center;
   gap: 0.5rem;
}

.btn::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 0;
   height: 100%;
   background: rgba(0,0,0,0.1);
   transition: width 0.3s ease;
   z-index: -1;
}

.btn:hover::before {
   width: 100%;
}

.btn-primary {
   background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
   border: none;
   color: white;
}

.btn-primary:hover {
   transform: translateY(-2px);
   box-shadow: 0 5px 20px rgba(247, 183, 51, 0.4);
}

.btn-outline-light {
   border: 2px solid rgba(255,255,255,0.3);
   color: white;
   background: transparent;
}

.btn-outline-light:hover {
   background: white;
   color: var(--dark-color);
   border-color: white;
}

/* ========================================
  Section Styles
  ======================================== */
.section-header {
   margin-bottom: 3rem;
}

.section-title {
   font-size: 2.5rem;
   font-weight: 700;
   color: var(--dark-color);
   margin-bottom: 1rem;
   position: relative;
}

.section-subtitle {
   font-size: 1.125rem;
   color: var(--text-muted);
   max-width: 600px;
   margin: 0 auto;
}

/* ========================================
  Responsive Styles
  ======================================== */
@media (max-width: 991px) {
   /* Navbar Mobile */
   .navbar-collapse {
       background: rgba(26, 26, 46, 0.98);
       margin: 1rem -1rem -1rem;
       padding: 1rem;
   }
   
   .navbar-nav {
       text-align: center;
   }
   
   .navbar-nav .nav-link {
       padding: 0.75rem 1rem !important;
   }
   
   .navbar-nav .nav-link::after {
       display: none;
   }
   
   .dropdown-menu {
       background: rgba(0,0,0,0.2);
       text-align: center;
       margin: 0;
       border-radius: 0;
   }
   
   .navbar-cta {
       margin-top: 1rem;
       text-align: center;
   }
   
   /* Footer Mobile */
   .footer-main {
       padding: 60px 0 30px;
   }
   
   .footer-widget {
       margin-bottom: 3rem;
   }
   
   .footer-newsletter {
       margin-top: 2rem;
   }
   
   .newsletter-form .btn {
       padding: 0 1.5rem;
   }
   
   .footer-bottom-links {
       flex-wrap: wrap;
       gap: 1rem;
   }
   
   .footer-bottom-links li::after {
       display: none;
   }
}

@media (max-width: 767px) {
   /* WhatsApp Button Mobile */
   .whatsapp-float {
       width: 50px;
       height: 50px;
       bottom: 20px;
       right: 20px;
       font-size: 1.5rem;
   }
   
   .whatsapp-text {
       display: none;
   }
   
   /* Back to Top Mobile */
   .back-to-top {
       width: 40px;
       height: 40px;
       bottom: 20px;
       left: 20px;
   }
   
   /* Section Titles Mobile */
   .section-title {
       font-size: 2rem;
   }
   
   /* Footer Mobile */
   .footer-title {
       font-size: 1.125rem;
   }
   
   .footer-social {
       justify-content: center;
   }
   
   .copyright {
       text-align: center;
       margin-bottom: 1rem;
   }
}

/* ========================================
  Animation Classes
  ======================================== */
.animate-in {
   animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
   from {
       opacity: 0;
       transform: translateY(30px);
   }
   to {
       opacity: 1;
       transform: translateY(0);
   }
}

/* Hover Effects */
.hover-lift {
   transition: transform 0.3s ease;
}

.hover-lift:hover {
   transform: translateY(-5px);
}

/* Loading States */
.loading {
   pointer-events: none;
   opacity: 0.6;
}

.loading::after {
   content: '';
   position: absolute;
   top: 50%;
   left: 50%;
   width: 20px;
   height: 20px;
   margin: -10px 0 0 -10px;
   border: 2px solid #f3f3f3;
   border-top: 2px solid var(--primary-color);
   border-radius: 50%;
   animation: spin 1s linear infinite;
}