/* style.css */
:root {
    --primary: #004aad;
    --secondary: #ff6a00;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --white: #ffffff;
    --text: #333333;
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', 'Segoe UI', sans-serif; scroll-behavior: smooth; }

body { background-color: var(--light); color: var(--text); line-height: 1.7; overflow-x: hidden; }

/* Animations */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Navbar */
.navbar { display: flex; justify-content: space-between; align-items: center; background: var(--white); padding: 1rem 5%; box-shadow: 0 4px 15px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000; }
/* Custom Text-Based Logo */
.navbar .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: var(--transition);
}
.navbar .logo:hover {
    transform: translateY(-2px);
}
.logo-mark {
    background: linear-gradient(135deg, var(--secondary), #ff8c33);
    color: var(--white);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.3rem;
    box-shadow: 0 4px 10px rgba(255, 106, 0, 0.3);
}
.logo-text {
    font-size: 1.8rem;
    line-height: 1;
    letter-spacing: -0.5px;
    display: flex;
}
.logo-text .synda {
    font-weight: 800;
    color: var(--dark);
}
.logo-text .tech {
    font-weight: 300;
    color: var(--primary);
}

/* Make Logo Mobile Responsive */
@media (max-width: 900px) {
    .logo-text { font-size: 1.5rem; }
    .logo-mark { width: 35px; height: 35px; font-size: 1.1rem; }
}
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a { text-decoration: none; color: var(--dark); font-weight: 600; transition: var(--transition); }
.nav-links a:hover { color: var(--secondary); }
.btn-sms { background: var(--secondary); color: var(--white) !important; padding: 0.6rem 1.2rem; border-radius: 8px; box-shadow: 0 4px 10px rgba(255, 106, 0, 0.3); }
.btn-sms:hover { transform: translateY(-2px); background: #e65c00; }
.menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; color: var(--primary); }

/* Hero Section */
.hero { text-align: center; padding: 6rem 5%; background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%); color: var(--white); }
.hero h1 { font-size: 3rem; margin-bottom: 1.5rem; font-weight: 800; }
.hero p { font-size: 1.2rem; max-width: 800px; margin: 0 auto 2rem; opacity: 0.9; }
.partner-badge { display: inline-block; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3); padding: 0.5rem 1.5rem; border-radius: 50px; font-weight: 600; margin-top: 1.5rem; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }

/* Section Titles & Subtitles */
.section-title { text-align: center; margin: 4rem 0 1rem; font-size: 2.5rem; color: var(--dark); font-weight: 800; }
.section-subtitle { text-align: center; color: var(--primary); background: #e6f0fa; padding: 0.8rem 1.5rem; border-radius: 50px; margin: 0 auto 3rem; font-size: 1rem; font-weight: 600; display: table; box-shadow: 0 2px 10px rgba(0,74,173,0.1); }
.section-subtitle i { margin-right: 8px; }

/* Services Grid */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2rem; padding: 0 5% 4rem; max-width: 1400px; margin: 0 auto; }
.service-card { background: var(--white); padding: 2.5rem; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); text-align: center; cursor: pointer; border-bottom: 4px solid transparent; transition: var(--transition); }
.service-card:hover { transform: translateY(-10px); border-bottom: 4px solid var(--secondary); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.service-card i { font-size: 3.5rem; color: var(--primary); margin-bottom: 1.5rem; }
.service-card h3 { margin-bottom: 1rem; font-size: 1.4rem; color: var(--dark); }

/* Modals */
.modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); z-index: 2000; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.3s ease; backdrop-filter: blur(5px); }
.modal.active { display: flex; opacity: 1; }
.modal-content { background: var(--white); padding: 3rem; border-radius: 15px; max-width: 700px; width: 90%; max-height: 90vh; overflow-y: auto; position: relative; transform: scale(0.9); transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.modal.active .modal-content { transform: scale(1); }
.close-btn { position: absolute; top: 20px; right: 25px; font-size: 2rem; cursor: pointer; color: #999; transition: var(--transition); line-height: 1; }
.close-btn:hover { color: #ff0000; }
.modal-content h2 { color: var(--primary); margin-bottom: 1.5rem; display: flex; align-items: center; gap: 10px; }
.modal-content h4 { color: var(--dark); margin: 1.5rem 0 0.5rem; font-size: 1.2rem; }
.modal-content ul { margin-left: 1.5rem; margin-bottom: 1.5rem; }
.modal-content li { margin-bottom: 0.5rem; }

/* 3CX Dynamic Pricing Cards - CENTERED & RESPONSIVE */
.cx-pricing-wrapper { display: flex; justify-content: center; padding: 0 5% 4rem; width: 100%; }
.cx-pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; max-width: 1200px; width: 100%; justify-content: center; align-items: stretch; }
.cx-price-card { background: var(--white); border-radius: 15px; padding: 2.5rem 1.5rem; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border: 1px solid #eaeaea; transition: var(--transition); position: relative; display: flex; flex-direction: column; justify-content: space-between; }
.cx-price-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 6px; background: linear-gradient(90deg, var(--primary), var(--secondary)); border-top-left-radius: 15px; border-top-right-radius: 15px; }
.cx-price-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.12); border-color: var(--primary); }
.cx-sc-title { font-size: 2.2rem; font-weight: 800; color: var(--dark); margin-bottom: 0.5rem; }
.cx-users { color: #666; font-size: 0.95rem; margin-bottom: 1.5rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.cx-divider { height: 1px; background: #eaeaea; margin: 1.5rem 0; width: 100%; }
.cx-tier { display: flex; flex-direction: column; margin-bottom: 1.5rem; padding: 1rem; background: var(--light); border-radius: 10px; }
.cx-tier-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.8rem; }
.cx-tier-name { font-weight: 700; font-size: 1.1rem; }
.cx-tier-price { font-weight: 800; font-size: 1.2rem; }
.cx-btn-sm { padding: 0.6rem; font-size: 0.9rem; font-weight: 600; border-radius: 6px; border: none; cursor: pointer; transition: var(--transition); width: 100%; }
.btn-pro { background: rgba(0, 74, 173, 0.1); color: var(--primary); border: 1px solid rgba(0, 74, 173, 0.2); }
.btn-pro:hover { background: var(--primary); color: var(--white); }
.btn-ent { background: rgba(26, 26, 46, 0.1); color: var(--dark); border: 1px solid rgba(26, 26, 46, 0.2); }
.btn-ent:hover { background: var(--dark); color: var(--white); }

/* Hosting Cards */
.hosting-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; padding: 0 5% 4rem; max-width: 1200px; margin: 0 auto; }
.pricing-card { background: var(--white); padding: 3rem 2rem; border-radius: 15px; border-top: 6px solid var(--primary); text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: var(--transition); }
.pricing-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }

/* Interactive Contact Hub (Tabs) */
.contact-hub { max-width: 800px; margin: 0 auto 4rem; background: var(--white); border-radius: 15px; box-shadow: 0 15px 50px rgba(0,0,0,0.08); overflow: hidden; }
.tab-headers { display: flex; background: var(--light); border-bottom: 1px solid #ddd; }
.tab-btn { flex: 1; padding: 1.2rem 1rem; text-align: center; font-weight: 600; color: #666; cursor: pointer; transition: var(--transition); background: none; border: none; font-size: 1rem; }
.tab-btn i { margin-right: 8px; }
.tab-btn:hover { color: var(--primary); background: #f0f5fa; }
.tab-btn.active { color: var(--primary); background: var(--white); border-bottom: 3px solid var(--primary); }
.tab-content { display: none; padding: 3rem; }
.tab-content.active { display: block; animation: slideUp 0.4s ease-out forwards; }
@keyframes slideUp { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

/* Forms */
.form-group { margin-bottom: 1.5rem; text-align: left; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--dark); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 1rem; border: 1px solid #ddd; border-radius: 8px; transition: var(--transition); background: var(--light); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.1); background: var(--white); }
.form-row { display: flex; gap: 1.5rem; }
.form-row .form-group { flex: 1; }
.btn-submit { background: var(--primary); color: var(--white); border: none; padding: 1.2rem 2rem; border-radius: 8px; cursor: pointer; font-size: 1.1rem; font-weight: 600; width: 100%; transition: var(--transition); display: flex; justify-content: center; align-items: center; gap: 10px; }
.btn-submit:hover { background: var(--dark); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.btn-consult { background: var(--secondary); }
.btn-consult:hover { background: #e65c00; }

/* Footer */
footer { background: var(--dark); color: var(--white); padding: 4rem 5% 1rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; margin-bottom: 3rem; max-width: 1400px; margin-left: auto; margin-right: auto; }
.footer-col h4 { color: var(--white); margin-bottom: 1.5rem; font-size: 1.2rem; position: relative; padding-bottom: 0.5rem; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--secondary); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.8rem; display: flex; align-items: center; gap: 10px; }
.footer-col ul li a { color: #aaa; text-decoration: none; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--secondary); padding-left: 5px; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); color: #888; }

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .menu-toggle { display: block; }
    .nav-links { position: absolute; top: 100%; left: 0; width: 100%; background: var(--white); flex-direction: column; padding: 2rem; gap: 1.5rem; box-shadow: 0 10px 15px rgba(0,0,0,0.1); clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); transition: clip-path 0.4s ease-in-out; }
    .nav-links.active { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    .hero h1 { font-size: 2.2rem; }
    .modal-content { padding: 2rem 1.5rem; }
    .section-subtitle { width: 90%; font-size: 0.9rem; }
    .tab-headers { flex-direction: column; }
    .tab-btn { border-bottom: 1px solid #ddd; }
    .tab-btn.active { border-bottom: none; border-left: 4px solid var(--primary); }
    .tab-content { padding: 2rem 1.5rem; }
    .form-row { flex-direction: column; gap: 0; }
}