/* Communication Solutions Page Styles */
/* Full width background fix */

.comm-main {
    min-height: 100vh;
    background: var(--secondary-color);
    width: 100%;
}

/* Ensure all sections span full width */
section {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Hero Section */
.comm-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url(../src/imgs/bg/10.webp);
    background-size: cover;
    background-position: center;
    color: var(--secondary-color);
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: 140px 20px 80px 20px;;
}

.hero-content {
    position: relative;
    z-index: 0;
    max-width: 900px;
}

.comm-brand {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: lowercase;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    line-height: 1.4;
}

.hero-description {
    font-size: 1.1em;
    margin-bottom: 20px;
    margin-top: 20px;
    line-height: 1.8;
    color: var(--secondary-color);
}

/* Hero Visual Elements */
.hero-visual {
    position: absolute;
    right: -250px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.phone-visual {
    position: relative;
    width: 300px;
    height: 300px;
}

.sound-waves {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 4px;
}

.wave {
    width: 6px;
    height: 20px;
    background: linear-gradient(45deg, var(--primary-color), #ff8c42);
    border-radius: 3px;
    animation: wave 1.5s linear infinite;
}

.wave:nth-child(1) { animation-delay: 0s; }
.wave:nth-child(2) { animation-delay: 0.1s; }
.wave:nth-child(3) { animation-delay: 0.2s; }
.wave:nth-child(4) { animation-delay: 0.3s; }
.wave:nth-child(5) { animation-delay: 0.4s; }
.wave:nth-child(6) { animation-delay: 0.5s; }
.wave:nth-child(7) { animation-delay: 0.6s; }
.wave:nth-child(8) { animation-delay: 0.7s; }
.wave:nth-child(9) { animation-delay: 0.8s; }
.wave:nth-child(10) { animation-delay: 0.9s; }
.wave:nth-child(11) { animation-delay: 1s; }
.wave:nth-child(12) { animation-delay: 1.1s; }
.wave:nth-child(13) { animation-delay: 1.2s; }
.wave:nth-child(14) { animation-delay: 1.3s; }
.wave:nth-child(15) { animation-delay: 1.4s; }

@keyframes wave {
    0%, 100% { 
        height: 20px;
        opacity: 0.3;
    }
    50% { 
        height: 60px;
        opacity: 1;
    }
}

/* Features Section */
.comm-features {
    background: var(--secondary-color);
    padding: 20px 20px 60px 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border-left: 4px solid var(--primary-color);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--secondary-color);
    box-shadow: 0 4px 20px rgba(231, 121, 25, 0.3);
}

.feature-card h3 {
    color: var(--tertiary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    font-size: 1rem;
    line-height: 1.6;
}

/* IVR Examples Section */
.comm-ivr-examples {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 20px;
}

.ivr-intro {
    margin-bottom: 4rem;
}

.section-description {
    font-size: 1.2rem;
    color: #666;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.comm-ivr-comprehensive .section-description{
    color: var(--secondary-color);
}

.comm-integration .section-description{
    color: var(--secondary-color);
}

.ivr-demos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.ivr-demo-card {
    padding: 2.5rem;
    text-align: center;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.ivr-demo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #ff8c42);
}

.demo-header {
    margin-bottom: 2rem;
}

.demo-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #ff8c42);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: var(--secondary-color);
    box-shadow: 0 6px 25px rgba(231, 121, 25, 0.4);
}

.demo-header h3 {
    color: var(--tertiary-color);
    margin: 0;
    font-size: 1.4rem;
}

.demo-steps {
    margin-bottom: 2rem;
    text-align: left;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 3px solid var(--primary-color);
}

.step-number {
    background: var(--primary-color);
    color: var(--secondary-color);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.step p {
    margin: 0;
    color: var(--tertiary-color);
    font-size: 0.95rem;
    line-height: 1.5;
}

.demo-cta {
    width: 100%;
    padding: 15px 25px;
    font-size: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.demo-cta i {
    font-size: 1.1rem;
}

/* Contact Section */
.comm-contact {
    background: var(--tertiary-color);
    color: var(--secondary-color);
    padding: 20px 20px 60px 20px;
}

.comm-contact h2 {
    color: var(--secondary-color);
    margin-bottom: 3rem;
}


/* Expert Info */
.expert-info {
    text-align: center;
    max-width: 500px;
    place-self: anchor-center;
}

.expert-avatar {
    margin-bottom: 2rem;
}

.expert-avatar img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 3px solid var(--secondary-color);
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.expert-details h3 {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.expert-role {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.contact-info {
    text-align: left;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.contact-item i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.contact-item strong {
    color: var(--secondary-color);
}

.contact-item span {
    color: #ccc;
}

/* Contact Form */
.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.form-input {
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.iti__search-input, .iti__no-results {
    background: var(--tertiary-color) !important;
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: var(--secondary-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

/* 
.form-group input {
    padding: 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: white;
    width: 100%;
} */

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(231, 121, 25, 0.2);
}

.form-input::placeholder {
    color: #aaa;
}

select.form-input {
    cursor: pointer;
}

textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    padding: 15px 30px;
    font-size: 1.1rem;
    border-radius: 8px;
    /* margin-top: 1rem; */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Form success with animation */
.form-success {
    text-align: center;
    padding: 3rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    animation: popIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.success-content i {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 1rem;
}

.success-content h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}



@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}




/* Override Hero Section for New Layout */
.comm-hero .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 0;
}

.hero-text {
    z-index: 0;
    max-width: 100%;
}

/* Hero Visual Elements - New Communication Scene */
.hero-visuals {
    display: flex;
    justify-content: center;
    align-items: center;
}

.communication-scene {
position: relative;
    width: 100%;
    max-width: 500px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 150px;
}

.agent-container, .customer-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.agent-container {
    margin-top: 0;
    margin-left: 0px;
    position: absolute;
}

.customer-container {
margin-top: -195px;
    margin-left: 195px;
    position: absolute;
}

.agent-img, .customer-img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    /* border: 5px solid var(--primary-color); */
    box-shadow: 0 5px 25px rgba(231, 121, 25, 0.5);
    margin-bottom: 20px;
    filter: drop-shadow(0 0 6px #ffffff) drop-shadow(0 0 20px var(--primary-color));
    user-select: none;
}


.agent-waves, .customer-waves {
    animation-delay: 0.5s;
}

.communication-scene .wave {
    width: 4px;
    height: 15px;
    background: linear-gradient(45deg, var(--primary-color), #ff8c42);
    border-radius: 2px;
    animation: comm-wave 1.5s linear infinite;
}

.communication-scene .wave:nth-child(1) { animation-delay: 0s; }
.communication-scene .wave:nth-child(2) { animation-delay: 0.2s; }
.communication-scene .wave:nth-child(3) { animation-delay: 0.4s; }
.communication-scene .wave:nth-child(4) { animation-delay: 0.6s; }
.communication-scene .wave:nth-child(5) { animation-delay: 0.8s; }

.communication-scene .sound-waves {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    position: absolute;
    bottom: -10px;
}

@keyframes pulse-line {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

@keyframes pulse-dot {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.7;
    }
}

@keyframes comm-wave {
    0%, 100% { 
        height: 15px;
        opacity: 0.4;
    }
    50% { 
        height: 35px;
        opacity: 1;
    }
}

/* Comprehensive IVR Section */
.comm-ivr-comprehensive {
    background: linear-gradient(135deg, var(--tertiary-color) 0%, #4a4a4a 100%);
    color: var(--secondary-color);
    padding: 20px 20px 60px 20px;
}

.comm-ivr-comprehensive h2 {
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 2rem;
}

.ivr-examples-visual {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
}

.ivr-example-card {
    background: var(--secondary-color);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.ivr-example-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 3px solid var(--primary-color);
}

.ivr-example-header h4 {
    margin: 0;
    color: var(--tertiary-color);
    font-size: 1.1rem;
    line-height: 1.4;
    flex: 1;
}

.zoom-btn {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    margin-left: 1rem;
    transition: all 0.3s ease;
}

.zoom-btn:hover {
    background: #cc5200;
    transform: scale(1.05);
}

.ivr-example-img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.ivr-example-img:hover {
    transform: scale(1.02);
}

/* IVR Placeholder Images */
.ivr-placeholder-img {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    border: 2px solid #ddd;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.ivr-placeholder-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), #ff8c42);
    opacity: 0.1;
    z-index: 1;
}

.ivr-placeholder-img:hover {
    transform: scale(1.02);
    border-color: var(--primary-color);
}

.placeholder-content {
    text-align: center;
    color: var(--tertiary-color);
    z-index: 0;
    position: relative;
}

.placeholder-content i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.placeholder-content h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--tertiary-color);
}

.placeholder-content p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 2rem;
}

.placeholder-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.placeholder-diagram .node {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
}

.placeholder-diagram .arrow {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.banking-placeholder::before {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
}

.ecommerce-placeholder::before {
    background: linear-gradient(135deg, #059669, #10b981);
}

.ivr-control-description {
    text-align: center;
    margin-top: 3rem;
}


/* IVR Use Cases Section */
.comm-ivr-usecases {
    background: var(--secondary-color);
    padding: 20px 20px 60px 20px;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.use-case-item {
    text-align: center;
    padding: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    transition: all 0.4s ease;
}

/* Interaktive Kacheln mit Button - Spezial-Styling */
.use-case-item[data-modal] {
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

/* "LIVE DEMO" Badge für interaktive Kacheln */
.use-case-item[data-modal]::after {
    content: 'LIVE DEMO';
    position: absolute;
    top: 15px;
    right: -35px;
    background: linear-gradient(135deg, var(--primary-color), #ff8c42);
    color: var(--secondary-color);
    padding: 5px 40px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    transform: rotate(45deg) translate(10px, 10px);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
    z-index: 10;
}

/* Hover-Effekt für interaktive Kacheln */
.use-case-item[data-modal]:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(255, 107, 0, 0.3);
}

/* Pulsierender Ring-Effekt für Icons in interaktiven Kacheln */
.use-case-item[data-modal] .use-case-icon {
    animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-ring {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(255, 107, 0, 0);
    }
}

.use-case-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #ff8c42);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.use-case-item h4 {
    color: var(--tertiary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

/* Titel in interaktiven Kacheln hervorheben */
.use-case-item[data-modal] h4 {
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), #ff8c42);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.use-case-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    flex-grow: 1;
}

.use-case-btn {
    padding: 12px 24px;
    font-size: 0.9rem;
    margin-top: auto;
    position: relative;
    z-index: 5;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
    transition: all 0.3s ease;
}

.use-case-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(255, 107, 0, 0.5);
}

/* Technical Integration Section */
.comm-integration {
    background: linear-gradient(135deg, var(--tertiary-color) 0%, #4a4a4a 100%);
    padding: 20px 20px 60px 20px;
}

.integration-header {
    margin-bottom: 4rem;
}

.integration-header h2 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}



.integration-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.integration-feature {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--secondary-color);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #ff8c42);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.feature-content h3 {
    color: var(--tertiary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.feature-list .fas {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Audio Demo Section */
.audio-demo {
    background: var(--secondary-color);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.audio-demo-header {
    text-align: center;
    margin-bottom: 3rem;
}

.audio-demo-header h3 {
    color: var(--tertiary-color);
    margin-bottom: 1rem;
}

.audio-demo-header p {
    color: #666;
    font-size: 1.1rem;
}

.audio-samples {
    margin-bottom: 3rem;
}

.audio-sample {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    transition: border-color 0.3s ease;
}

.audio-sample:hover {
    border-color: var(--primary-color);
}

.sample-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.sample-info h4 {
    color: var(--tertiary-color);
    margin: 0;
    font-size: 1.1rem;
}

.codec-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.codec-badge.standard {
    background: #6c757d;
    color: white;
}

.codec-badge.hd {
    background: var(--primary-color);
    color: white;
}

.codec-badge.premium {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.audio-player audio {
    width: 100%;
    height: 40px;
}

/* Integration Partners */
.integration-partners {
    text-align: center;
}

.integration-partners h4 {
    color: var(--tertiary-color);
    margin-bottom: 1.5rem;
}

.partner-logos {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.partner-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
}

.partner-logo img {
    max-width: 80px;
    max-height: 60px;
    object-fit: contain;
}

.partner-logo span {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
    user-select: none;
}

/* Contact Section Fixes */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}



.contact-form-wrapper {
    /* min-height: 600px; */
    display: flex;
    align-self: center;
    flex-direction: column;
}

.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Phone Input Styling */
.phone-input {
    width: 100% !important;
}

.iti {
    width: 100% !important;
}

.iti__flag-container {
    background: rgba(255, 255, 255, 0.1) !important;
}

.iti__selected-flag {
    background: rgba(255, 255, 255, 0.1) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.iti__arrow {
    border-top-color: var(--secondary-color) !important;
}

.iti__country-list {
    background: var(--tertiary-color) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: var(--secondary-color) !important;
}

.iti__country {
    color: var(--secondary-color) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.iti__country:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}


/* Select Styling Fix */
select.form-input option {
    background: var(--tertiary-color);
    color: var(--secondary-color);
}

/* Modal Styles */
.demo-modal {
    display: none;
    position: fixed;
    z-index: 8000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: var(--secondary-color);
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
}

.zoom-modal-content {
    background: transparent;
    border: none;
    border-radius: 0;
    width: 95%;
    max-width: 1400px;
    text-align: center;
    position: relative;
}

.zoom-modal-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 15px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7);
    cursor: zoom-out;
    transition: transform 0.3s ease;
}

.zoom-modal-content img:hover {
    transform: scale(1.02);
}

/* Clickable Images */
.ivr-example-img{
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.ivr-example-img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.modal-header {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--secondary-color);
}

.modal-close, .zoom-close {
    color: var(--secondary-color);
    font-size: 3rem;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
        float: inline-end;
        margin-bottom: 1rem;
}

.modal-close:hover, .zoom-close:hover {
    opacity: 0.7;
}

.modal-body {
    padding: 2rem;
    color: var(--tertiary-color);
}

.modal-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.modal-step .step-number {
    background: var(--primary-color);
    color: var(--secondary-color);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.phone-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.phone-link:hover {
    text-decoration: underline;
}

/* IVR Configuration Steps */
.ivr-config-steps {
    margin-top: 2rem;
}

.card{
    background-color: #ffffff22 !important;
}

.config-step {
    background: #f8f9fa;
    padding: 2rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.config-step h4 {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--tertiary-color);
}

.step-num {
    background: var(--primary-color);
    color: var(--secondary-color);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.config-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 1rem;
    background: var(--secondary-color);
    color: var(--tertiary-color);
}

.config-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.config-next {
    padding: 10px 20px;
}

.config-success {
    text-align: center;
    padding: 2rem;
}

.config-success h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.modal-intro {
    background: #e8f4f8;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--primary-color);
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* FAQ Section */
.comm-faq {
    background: var(--secondary-color);
    padding: 20px 20px 60px 20px;
}

.faq-header {
    margin-bottom: 4rem;
}

.faq-header h2 {
    color: var(--tertiary-color);
    margin-bottom: 1rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.faq-category h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.faq-category h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
}

.faq-item {
    margin-bottom: 1.5rem;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item.active {
    border-color: var(--primary-color);
}

.faq-question {
    padding: 1.5rem;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question h4 {
    color: var(--tertiary-color);
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 250px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.faq-cta {
    padding: 3rem;
    background: var(--tertiary-color);
    border-radius: 20px;
}

.faq-cta h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.faq-cta p {
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}


@media (max-width: 1330px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        min-height: auto;
        padding: 2rem 1.5rem;
    }
    
    .ivr-demos {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr !important;
        gap: 3rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .expert-info {
        order: 1;
    }
    
    .contact-form-wrapper {
        order: 2;
        padding: 2rem 1.5rem;
    }
    
    .expert-avatar img {
        width: 150px;
        height: 150px;
    }
    
    .comm-hero {
        min-height: 60vh;
        text-align: center;
        /* padding: 100px 20px 60px 20px; */
    }

    .faq-item.active .faq-answer{
        overflow: auto;
    }
.feature-icon{
        align-self: center;
}
    .feature-content h3{
        justify-self: center;
    }
    
    .comm-hero .hero-content {
display: flex;
        flex-direction: column;
        gap: 2rem;
        width: 100%;
        justify-content: center;
        align-items: center;

        
    }

    .container{
        padding: unset !important;
        max-width: 100% !important;

    }
    
    .hero-visuals {
        order: -1;
        display: flex;
        justify-content: center;
        width: 100%;

    }
    
    .communication-scene {
        max-width: 400px;
        margin: 0 auto;
        transform: scale(0.7);
    }
    
    .customer-img {
        width: 300px !important;
        height: 300px !important;
        min-width: 300px;
        min-height: 300px;
        border-radius: 50% !important;
        object-fit: cover !important;
        flex-shrink: 0;
    }

    .agent-container{
        left: -50px;
    }
    
    .customer-container {
        flex-shrink: 0;
        left: -50px;
    }

    .hero-text{
        position: relative;
    }

    .hero-text h1{
        font-size: 1.5rem;
    }

    .fade-in-left.animate-left,
    .fade-in-right.animate-right {
        transform: translateY(-10px) !important;
        opacity: 1 !important;
    }
    
    .fade-in-left,
    .fade-in-right {
        transform: translateY(20px) !important;
        opacity: 0 !important;
    }
    
    /* Disable hover transforms on mobile */
    .fade-in-left.animate-left.hover-lift:hover,
    .fade-in-right.animate-right.hover-lift:hover,
    .animate-left.hover-lift:hover,
    .animate-right.hover-lift:hover {
        transform: translateY(-5px) !important;
    }
    
    .integration-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .integration-feature {
        flex-direction: column;
        text-align: left;
        gap: unset;
    }
    
    .partner-logos {
        flex-direction: row;
        gap: 1rem;
    }

    .faq-category h3 {
        text-align: center;
    }
    .faq-category h3::after{
        justify-self: anchor-center;
    }
    
    .audio-demo {
        padding: 2rem;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .ivr-examples-visual {
        grid-template-columns: 1fr;
    }
    
    .use-cases-grid {
        grid-template-columns: 1fr;
    }
}

/* Error Messages */
.error-message {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
    font-weight: 500;
}

.error-message-header {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Input error state */
.form-input.error {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}

/* Privacy link */
.privacy-link {
    color: #6c757d;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    transition: all 0.2s ease;
    /* margin-bottom: 1rem; */
    display: inline-block;
}

.privacy-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Form actions with privacy link */
.form-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    /* margin-top: 1.5rem; */
}

/* Button disabled state */
.btn-primary:disabled {
    background-color: rgba(255, 102, 0, 0.3);
    color: rgba(255, 255, 255, 0.6);
    cursor: not-allowed;
    transform: none;
}

.btn-primary:disabled:hover {
    background-color: rgba(255, 102, 0, 0.3);
    transform: none;
}

@media (max-width: 500px) {
    .customer-img {
        width: 250px !important;
        height: 250px !important;
        min-width: 250px;
        min-height: 250px;
    }

    .agent-img {
        width: 250px !important;
        height: 250px !important;
        min-width: 250px;
        min-height: 250px;
    }
}