/* ========== Base Reset ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    padding-top: 100px;
    background-color: #F9FAFB;
}

/* ========== Container ========== */
.container {
    margin: 0 auto;
    padding: 0px 20px;
}

/* ========== Header ========== */
header {
    background: #fff;
    padding: 5px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.nav {
    display: flex;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 60px;
    margin-right: 30px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 600;
}

.btn-primary {
    background: #40c5ff;
    color: #fff !important;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    margin-left: auto;
}

.close-btn,
.hamburger,
.nav-links .btn-primary {
    display: none;
}

.hamburger {
    font-size: 28px;
    cursor: pointer;
    user-select: none;
    margin-left: auto;
}

/* ========== Section Wrapper ========== */
.section-wrapper {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

/* ========== Package Cards ========== */
.package-options {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.package-card {
    width: 220px;
    height: 140px;
    background: #fff;
    border: 2px solid #eee;
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.package-card span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 16px;
}

.package-card span img {
    width: 50px;
    height: 50px;
    margin-Bottom: 14px
}

.package-card h3 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.package-card.active {
    border-color: #d3b6ff;
    background: #f8f5ff;
    box-shadow: 0 6px 20px rgba(108, 99, 255, 0.15);
}

.package-card:hover {
    border-color: #c5e0ff;
    transform: translateY(-4px);
}

.packages-section h2 {
    margin-left: 80px; 
}


/* Package Details */
.package-details {
    max-width: 650px;
    margin: 0 auto;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 0px;
    overflow: hidden;
    display: none;
}

/* Header Styling */
.package-header {
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
}

/* Tech Theme */
.package-details.tech {
    border-color: rgba(192, 110, 243);
    background: #fff;
}

.package-details.tech .package-header {
    background: rgba(192, 110, 243, 0.2);
}

/* Non-Tech Theme */
.package-details.non-tech {
    border-color: rgba(253, 186, 9);
    background: #fff;
}

.package-details.non-tech .package-header {
    background: rgba(253, 186, 9, 0.2);
}

/* Management Theme */
.package-details.management {
    border-color: rgba(109, 237, 195);
    background: #fff;
}

.package-details.management .package-header {
    background: rgba(109, 237, 195, 0.2)
}

.package-header h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.package-header p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

/* ========== Accordion ========== */
.accordion-item {
    border-top: 1px solid #ddd;
    padding: 10px;
}

.accordion-btn {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 15px 0;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-content.active {
    max-height: 500px;
    padding: 10px 0 15px 0;
}

.accordion-content .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.accordion-content .tags span {
    background: #f5f5f5;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.accordion-content a {
    font-size: 13px;
    color: #6C63FF;
    text-decoration: none;
}

/* Modal background */
.modal {
  display: none; 
  position: fixed;
  z-index: 3000; 
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0, 0, 0, 0.6); /* 🔥 Dark overlay */
  backdrop-filter: blur(2px);
}

/* Modal box */
.modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 25px;
  border-radius: 2px;
  width: 80%;
  max-width: 600px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  animation: fadeIn 0.3s ease;
}

.modal-content h2 {
  margin-bottom: 12px;
  line-height: 1.5;
}

.modal-content p {
  margin-bottom: 12px;
  line-height: 1.5;
}

/* Close button */
.close-popup {
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

.close-popup:hover {
  color: red;
}

/* Tags container */
/* Make tags pop */
.modal-content .tag {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Each tag */
.modal-content .tag span {
  background: #f3f4f6;
  color: #333;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #ddd;
  transition: all 0.2s ease;
}

/* Hover effect */
.modal-content .tags span:hover {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

.modal-content .popup-actions {
  display: flex;
  justify-content: flex-end;  /* aligns button to right */
  margin-top: 15px;
}

.modal-content .popup-btn {
  background-color: #00aaff;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 2px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s;
}

.modal-content .popup-btn:hover {
  background-color: #00aaff;
}

@keyframes fadeIn {
  from {opacity: 0; transform: scale(0.95);}
  to {opacity: 1; transform: scale(1);}
}


/* ========== Footer ========== */
/* Footer */
footer {
  background-color: #1A1F36;
  color: #fff;
  margin-top: 80px;
}

/* Main Layout */
.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 40px 20px;
}

/* Left Section */
.footer-left {
  flex: 1;
  min-width: 280px;
  margin-left: 100px;
}

.footer-left p {
  font-size: 20px;
  margin-bottom: 20px;
}

/* Right Section - Newsletter */
.footer-right {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;   
  align-items: flex-end;    
}

.footer-bottom .links {
    display: flex;
    gap: 100px;
}

.footer-bottom .links a {
  color: #fff;      
  text-decoration: none; 
  transition: color 0.3s;
}

.footer-bottom .links a:hover {
  color: #ffc53d; 
}
.newsletter-box {
    background: #ffc53d;
    padding: 30px;
    border-radius: 2px;
    color: #000;
    max-width: 450px;
    width: 100%;
    margin-right: 100px;
    height: 100%;
}

.newsletter-box h3 {
  font-weight: 700;
  margin-bottom: 10px;
}

.newsletter-box p {
  font-size: 14px;
  margin-bottom: 15px;
}

.newsletter-form {
  display: flex;
}

.newsletter-form input {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 4px 0 0 4px;
  outline: none;
}

.newsletter-form button {
  background: #1a1f36; /* Dark button */
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background 0.3s;
}

.newsletter-form button:hover {
  background: #333;
}

/* Contact icons */
.contact-info {
    display: flex;
    align-items: flex-start;
    text-align: left;
    flex-direction: column; 
    gap: 40px; 
}
.callMail {
    display: flex;       
    align-items: center; 
    gap: 20px;          
}

.callMail img {
    width: 40px;  
    height: 40px;  
    object-fit: contain; 
}

.callMail p {
  margin: 0;            
  line-height: 1.2;     
  font-weight: 600;   
}

.callMail span {
  display: block;   
  margin-top: 2px;      
  font-size: 14px;      
}

.footer-bottom {
  display: flex;
  justify-content: space-between; 
  align-items: center;        
  flex-wrap: wrap;            
  padding: 20px 40px;
  font-size: 14px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom .social {
  display: flex;
  gap: 15px;
}

.footer-bottom .social a img {
  width: 24px;
  height: 24px;
  transition: transform 0.2s;
}

.footer-bottom .social a img:hover {
  transform: scale(1.1);
}

.footer-right .logo {
  margin-top: 15px; 
}

.footer-right .logo img {
  max-width: 180px;
  height: 50px;
  display: block;
  margin-right: 100px;
  border-radius: 2px;
}

.callMail img {
    width: 40px;  
    height: 40px;  
    object-fit: contain; 
}


/* ========== Responsive ========== */
@media(max-width: 768px) {
    body {
        padding-top: 70px;
        background-color: #fff;  
    }

    .section-wrapper {
        padding: 10px;           
        box-shadow: none;  
        border-radius: 0;       
    }

    .btn-primary {
        display: none;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -250px;
        width: 250px;
        height: 100%;
        background: #fff;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
        flex-direction: column;
        padding: 80px 20px 20px;
        gap: 20px;
        transition: right 0.3s ease;
        z-index: 2000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        display: block;
        margin: 10px 0;
        font-weight: 600;
        color: #333;
    }

    .nav-links .btn-primary {
        display: inline-block;
        margin-top: 20px;
        text-align: center;
    }

    .close-btn {
        display: block;
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 28px;
        font-weight: bold;
        cursor: pointer;
        color: #333;
    }

    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 1500;
        display: none;
    }
    
    .nav-overlay.active {
        display: block;
    }

    .hamburger {
        display: block;
        margin-left: auto;
        font-size: 28px;
        cursor: pointer;
    }

    .logo img {
        height: 50px;
    }

    .packages-section h2 {
        font-size: 22px;
        margin-bottom: 25px;
        text-align: left; 
        margin-left: 0;
    }

    .package-options {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }
    .package-card {
        padding: 20px;
        width: 100%;          
        aspect-ratio: 1.5;     
        max-width: 160px;
    }

    .package-card span img {
        width: 100px;
    }

    .package-details {
        width: 100%;
        padding: 0px;
    }

    .package-header h3 {
        font-size: 16px;
    }

    .accordion-btn {
        font-size: 14px;
    }

    .accordion-content .tags span {
        font-size: 12px;
        padding: 4px 10px;
    }

    footer {
        background-color: #1A1F36;
        color: #fff;
        width: 100%;     /* ensure full width */
    }

  .footer-main.container, 
    .footer-bottom.container {
        max-width: 1200px;  /* keep content aligned */
        margin: 0 auto;     
        padding: 40px 20px;
    }
    
    .footer-main {
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
    }
    .footer-left {
        flex: 1;
        min-width: 280px;
        margin-left: 0px;
    }
    
    .footer-left p {
        font-size: 13px;
        margin-bottom: 20px;
    }
    
    .footer-right { order: 1; }   
    .footer-left { order: 2; }
    
    .footer-right {
        width: 100%;             
        flex-direction: column;    
        align-items: flex-start;  
    }

    .newsletter-box {
        width: 100%;             
        max-width: 400px;        
        margin: 0 -10px;   
        margin-bottom: 30px;     
    }

    .footer-right .logo {
        margin: 0;  
        margin-bottom: 30px;           
    } 
    .contact-info {
        display: flex;
        align-items: left;
        text-align: left;
        flex-direction: column; 
        gap: 10px; 
    }
    .callMail {
        display: flex;       
        align-items: center; 
        gap: 10px;          
    }

    .callMail img {
        width: 40px;  
        height: 40px;  
        object-fit: contain; 
    }

    .callMail p {
        margin: 0;            
        line-height: 1.2;     
        font-weight: 600;   
    }
    
    .callMail span {
        display: block;   
        margin-top: 2px;      
        font-size: 14px;      
    }
    .footer-bottom {
        display: flex;
        flex-direction: column; 
        align-items: flex-start; 
        gap: 10px; 
    }

    .footer-bottom p {
        order: 1;
    }

    .footer-bottom .links {
        order: 2;
        display: flex;
        flex-direction: column; 
        gap: 5px;
    }

    .footer-bottom .social {
        order: 3;
        display: flex;
        flex-direction: row; 
        justify-content: flex-start; 
        gap: 10px;
    }
    .callMail div {
        display: flex;        
        flex-direction: column; 
    }
    .footer-bottom .links {
        flex-direction: column;
        gap: 1px; 
    }
}
@media(max-width: 480px) {
    body{
        margin-right: 10px;
    }
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 1500;
        display: none;
    }
    
    .nav-overlay.active {
        display: block;
    }

    .packages-section h2 {
        font-size: 24px;
        text-align: left;  
        margin-left: 0;
    }

    .package-card {
        padding: 20px;
        width: 100%;          
        aspect-ratio: 1.5;     
        max-width: 160px;
    }

    .package-card span img {
        width: 80px;
    }

    .accordion-btn {
        font-size: 13px;
    }

    .accordion-content .tags span {
        font-size: 11px;
        padding: 3px 8px;
    }

    .package-options {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        justify-items: center;
    }
}

@media(max-width: 360px){

    body{
        margin-right:0px;
    }

    .package-card {
        padding: 20px;
        width: 100%;          
        aspect-ratio: 1.5;     
        max-width: 140px;
    }

}