* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f9f9f9;
    color: #273238;
    font-size: 16px !important;
}

.container {
    width: 90%;
    margin: 0 auto;
}

.containz {
    width: 30%;
    margin: 0 auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
    top: 30px;
    z-index: 1;
    box-sizing: border-box;
}

.logo img {
    width: 10rem;
}

nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

nav a {
    text-decoration: none;
    color: #333;
    cursor: pointer;
}

.activez {
    color: #ef1c47;
}

nav a:hover {
    color: #ef1c47;
}

.cta-button {
    padding: 10px 20px;
    background-color: #ef1c47;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: .9rem;
    font-weight: 600;
    transition: background 0.3s;
}

.cta-button:hover {
    background-color: #333;
    color: #fff;
}

.topnav {
    overflow: hidden;
    background-color: #333;
    position: relative;
    top: 3.2rem;
    border-radius: 8px;
    z-index: 3;
}

.topnav #myLinks {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
}

.topnav #myLinks.show {
    max-height: 520px;
    opacity: 1;
}

.topnav a {
    color: rgba(255, 255, 255, 0.66);
    padding: 14px 16px;
    text-decoration: none;
    font-size: 17px;
    display: block;
    text-align: center;
}

.iconfa {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    color: #ef1c47;
    font-weight: bold;
    font-size: 1.8rem;
}

.topnav a:hover {
    background-color: #fff;
    color: #333;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.search-box {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.search-box input {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.search-box button {
    padding: 10px 20px;
    font-size: 1rem;
    background: #ef1c47;
    color: white;
    border: none;
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.search-box button:hover {
    background-color: #333;
}

.tags {
    margin-top: 20px;
}

.tags span {
    display: inline-block;
    background: #eee;
    padding: 8px 12px;
    margin: 5px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
}

.tags span:hover {
    background: #333;
    color: #fff;
}

.side-images {
    position: absolute;
    top: 40%;
    width: 94%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    left: 3%;
    right: 3%;
}

.side-images .column {
    display: flex;
    /* flex-direction: column; */
    gap: 20px;
    align-items: flex-end;
    opacity: 0;
    animation: fadeSlide 2s ease forwards;
}

.side-images .column.right {
    align-items: flex-end;
    animation: fadeSlideRight 2s ease forwards;
    animation-delay: 0.5s;
}

.side-images .row {
    display: grid;
    gap: 10px;
}

.side-images img {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 10px;
}

/* Animations */
@keyframes fadeSlide {
    0% {
        transform: translateX(-80px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeSlideRight {
    0% {
        transform: translateX(80px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}


/* Popular Cards Section */
.popular {
    text-align: center;
    padding: 6rem 0 4rem 0; 
}

.popular h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.popular p {
    margin-bottom: 30px;
}

.circle-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 40px;
}

.circle-buttons .btn {
    width: 105px;
    height: 95px;
    border-radius: 10%;
    background: #ddd;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    font-size: .8rem;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    border: none;
}

.circle-buttons .btn:hover {
    color: #ef1c47;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    gap: 20px;
}

.card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.card a {
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    background: #ef1c47;
    color: #fff;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
}

.top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
}

.top img.user {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid #fff;
}

.top img.logo {
    width: 120px;
    height: 60px;
    object-fit: cover;
}

.bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-top: 1px solid #eee;
}

.bottom .info {
    text-align: left;
}

.bottom .info h3 {
    margin: 0;
    font-size: 16px;
}

.bottom .info p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.card a:hover {
    background: #333;
}

.containz h2 {
    text-align: center;
    margin: 2rem 0;
}

#registerForm input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#registerForm button {
    width: 100%;
    padding: 10px;
    background: #ef1c47;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

#registerForm button:hover {
    background: #333;
}

#loginForm input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#loginForm button {
    width: 100%;
    padding: 10px;
    background: #ef1c47;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

#loginForm button:hover {
    background: #333;
}

.spacebox {
    height: 7rem;
    width: 100%;
}

.spaceboxs {
    height: 5rem;
    width: 100%;
}

/* Card section */
.introp {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 9999;
}

.logo-screenp {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 28px;
    z-index: 9998;
    display: none;
}

.logo-screenp img {
    display: block;
    margin: 0 auto;
    width: 40%;
}

.centbox {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cardp {
    width: 360px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: none;
    /* hidden until intro finishes */
}

.logo-sectionp {
    position: relative;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

   .logo-sectionp img.logopp {
      width: 50%;
      display: block;
      margin: 0 auto;
      z-index: 1;
    }

    .logo-sectionp img.overlayz {
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
      opacity: 0;
      transition: opacity 1s ease-in-out;
      z-index: 2;
    }

    .logo-sectionp img.overlayz.active {
      opacity: 1;
    }

.user-picp {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 5px solid #fff;
    object-fit: cover;
    z-index: 2;
}

.infop {
    text-align: center;
    margin-top: 70px;
    padding: 10px;
}

.infop h2 {
    margin: 5px 0;
    font-size: 22px;
    color: #333;
}

.infop p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.actionsp {
    display: flex;
    justify-content: center;
    margin: 15px 0;
}

.actionsp a {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    margin: 0 10px;
    color: #fff;
    text-align: center;
}

.actionsp i {
    font-size: 1.5rem;
    margin: 1.1rem;
    text-align: center;
}

.contact-listp {
    margin: 20px;
}

.contact-itemp {
    display: flex;
    align-items: center;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 12px;
    cursor: pointer;
}

.contact-iconp {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    margin-right: 12px;
}

.contact-textp {
    display: flex;
    flex-direction: column;
}

.contact-titlep {
    font-weight: bold;
    color: #333;
    font-size: 14px;
}

.contact-subtextp {
    font-size: 13px;
    color: #555;
}

.socialp {
    display: flex;
    justify-content: center;
    margin: 15px 0 0 0;
    padding: 1rem 0;
}

.socialp a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 8px;
    cursor: pointer;
}

.bgbtnz {
    padding: .5rem;
}

.save-btnp {
    padding: 10px 20px;
    background: #ddd;
    color: #333;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    width: 90%;
    display: block;
    margin: 1rem auto;
}

.accordionzp {
    color: #444;
    cursor: pointer;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
    margin: 2rem 0 1rem 0;
    border-radius: 8px;

    background: #d3d2d2;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
}

.activezp,
.accordionzp:hover {
    background-color: #ccc;
}

.panelzp {
    padding: 20px;
    display: none;
    background: #f9f9f9;
    border: 1px solid #ddd;
    overflow: hidden;
    margin: 0 0 1rem 0;
    border-radius: 8px;
}

#logopp {
    display: block;
    margin: 1.2rem auto;
    width: 110px;
    position: absolute;
    z-index: 1;
    top: 0;
}

#logop {
    z-index: 2;
    width: 100%;
    position: absolute;
}


.pagination a {
    padding: .5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    text-decoration: none;
    background: #efefef;
    font-weight: bold;
    color: #333;
}


.footerbox {
    width: 100%;
    text-align: center;
    margin: 1rem 0 0 0;
}

.footerbox p {
    color: rgb(129, 149, 165);
    text-decoration: none;
    text-align: center;
}

.footerbox a {
    color: rgb(129, 149, 165);
    text-decoration: none;
    text-align: center;
}

.footerbox a:hover {
    text-decoration: none;
    color: #ef1c47;
}

.footerbox hr {
    margin: 10px 0 10px 0;
    height: 1px;
    border-width: 0;
    color: rgba(103, 137, 189, 0.18);
    background-color: rgba(69, 99, 143, 0.18);
}


.pplans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.pplan {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.pplan h2 {
    margin-top: 0;
    color: #ef1c47;
}

.pprice {
    font-size: 1.6em;
    font-weight: bold;
    margin: 15px 0;
    color: #333;
}

.pfeatures {
    margin: 20px auto;
    display: inline-block;
    /* keeps list centered */
    text-align: left;
    /* aligns text to left */
}

.pfeatures li {
    list-style: none;
    margin: 8px 0;
    font-size: 1em;
    color: #555;
}

.pfeatures li::before {
    content: "✔ ";
    color: #ef1c47;
    font-weight: bold;
}

.pbtn {
    display: block;
    /* makes button full-width block */
    margin: 20px auto 0 auto;
    /* centers button horizontally */
    width: fit-content;
    /* button only as wide as text */
    padding: 12px 25px;
    background: #ef1c47;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.pbtn:hover {
    background: #333;
}

.mcardsetform {
    display: flex;
    flex-wrap: wrap;
    /* allows wrapping on small screens */
    gap: 10px;
}

.mcardsetform input {
    /* flex: 1; */
    /* each input takes equal space */
    /* min-width: 200px; */
    /* ensures readability on small screens */
    padding: 10px 0 10px 10px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin: .5rem 0 0 0;
}

.lebsetcard {
    flex: 1;
    /* each input takes equal space */
    min-width: 200px;
    /* ensures readability on small screens */
}

.mcardsetform textarea {
    flex: 1;
    /* each input takes equal space */
    min-width: 100%;
    /* ensures readability on small screens */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    min-height: 12rem;
}

.mcardsetform select {
    flex: 1;
    /* each input takes equal space */
    width: 100%;
    /* ensures readability on small screens */
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.mcardsetform button {
    width: 100%;
    padding: .8rem;
    border-radius: 5px;
    background: #ef1c47;
    color: #fff;
    cursor: pointer;
    border: none;
}

.mcardsetform button:hover {
    background-color: #333;
}



.ducardbox {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.ducard {
    flex: 1 1 calc(25% - 20px);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
}

.ducardd {
    flex: 1 1 calc(25% - 20px);
    background: #f3f3f3;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.ducardd input {
    padding: .3rem 1rem;
    margin: .5rem 0 0 0;
    width: 100%;
}

.frminput {
    background-color: #ef1c47;
    padding: .5rem !important;
    margin-top: 1rem;
    width: 100%;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    color: #fff;
    cursor: pointer;
}

.frminput:hover {
    background-color: #333;
}

.ducardd select {
    padding: .3rem;
    margin: .5rem 0 0 0;
    width: 100%;
}

.ducard h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
}

.ducard p {
    margin-top: 8px;
    font-size: 0.9rem;
    color: #666;
}

.ducard a {
    background-color: #ef1c47;
    padding: .5rem;
    margin-top: 1rem;
    width: 100%;
    float: left;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.ducard a:hover {
    background-color: #333;
}

.duchart-card {
    flex: 1 1 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-top: 20px;
}

.duchart-card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: #333;
}

.chart-placeholder {
    height: 250px;
    background: repeating-linear-gradient(to right,
            #4a90e2,
            #4a90e2 20px,
            transparent 20px,
            transparent 40px);
    border-radius: 6px;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .ducard {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 600px) {
    .ducard {
        flex: 1 1 100%;
    }
}



.confilter-section {
    margin-bottom: 15px;
}

.confilter-section input,
.confilter-section select {
    padding: 8px;
    margin-right: 10px;
    border: 1px solid #333;
    border-radius: 4px;
}

.table-container {
    overflow-x: auto;
}

#callLogTable {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
    margin: 0 auto;
}

#callLogTable th,
td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

#callLogTable th {
    background-color: #f4f4f4;
}

.action-btn {
    padding: 6px 12px;
    background: #ef1c47;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
}

.action-btn:hover {
    background: #333;
}

/* Responsive styles */
@media (max-width: 600px) {

    #callLogTable,
    #callLogTable thead,
    #callLogTable tbody,
    #callLogTable th,
    #callLogTable td,
    #callLogTable tr {
        display: block;
        width: 100%;
    }

    #callLogTablethead tr {
        display: none;
    }

    #callLogTable tr {
        margin-bottom: 15px;
        padding: 10px;
    }

    #callLogTable td {
        border: none;
        position: relative;
        padding-left: 50%;
    }

    #callLogTable td:before {
        position: absolute;
        left: 10px;
        top: 10px;
        white-space: nowrap;
        font-weight: bold;
    }

    #callLogTable td:nth-of-type(1):before {
        content: "Sr No.";
    }

    #callLogTable td:nth-of-type(2):before {
        content: "Name";
    }

    #callLogTable td:nth-of-type(3):before {
        content: "Company";
    }

    #callLogTable td:nth-of-type(4):before {
        content: "Role";
    }

    #callLogTable td:nth-of-type(5):before {
        content: "Notes";
    }

    #callLogTable td:nth-of-type(6):before {
        content: "Action";
    }
}

.setupcardbox {
    display: flex;
    flex-wrap: wrap;
    /* allows stacking on small screens */
    min-height: 100vh;
}

.setupcardleft,
.setupcardright {
    flex: 1;
    /* each takes half width */
    /* padding: 20px; */

}

.setupcardleft {
    background-color: #f0f0f0;
    border-top: 1px solid #ddd;
    border-left: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.setupcardright {
    background-color: #ffffff;
    border: 1px solid #ddd;
    width: 100%;
}

.setupcardright h3 {
    margin: .5rem 0 2rem 0;
    color: #666;
}

@media (max-width: 768px) {

    .setupcardleft,
    .setupcardright {
        flex: 100%;
        /* stack vertically on smaller screens */
        border-left: none;
        border-top: 1px solid #ddd;
    }
}

.dcboxz {
    display: flex;
    flex-wrap: wrap;
    /* allows responsiveness */
    align-items: center;
    justify-content: center;
}

.dcboxzleft {
    flex: unset;
    text-align: center;
}

.dcboxzleft img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.dcboxzright {
    flex: unset;
    padding: 20px;
}

.dcboxztext-line {
    margin: 10px 0;
    font-size: 16px;
}

.dcboxzbtn {
    display: inline-block;
    margin: 8px 5px;
    padding: 10px 20px;
    background: #ef1c47;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.dcboxzbtn:hover {
    background: #333;
}

/* Responsive: stack vertically on small screens */
@media (max-width: 600px) {
    .dcboxz {
        flex-direction: column;
    }

    .dcboxzright {
        text-align: center;
    }
}

.dfeatures {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 2rem;
    background: #ecf0f1;
}

.dfeature {
    flex: 1 1 250px;
    margin: 1rem;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.dfeature h3 {
    margin-top: 0;
    margin-bottom: .8rem;
    color: #ef1c47;
}

.inbrow {
    display: flex;
    gap: 10px;
    /* space between inputs */
    margin-top: 10px;
}

.inbrow select {
    flex: 1;
    /* make them equal width */
    padding: 6px;
}

.whtpbtnd {
    background-color: #ef1c47;
    color: #fff;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
}

.whtpbtnd:hover {
    background-color: #333;
}



/* --- Popup modal styles --- */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background: #fff;
    padding: 20px;
    width: 100%;
    text-align: center;
}

.modal-content h3 {
    margin-bottom: 15px;
}

.modal-content a {
    display: block;
    margin: 10px 0;
    padding: 10px;
    background: #c00;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.close {
    float: right;
    font-size: 20px;
    cursor: pointer;
    color: #c00;
}