/* --- MASTER STYLESHEET FOR HOSTDY SOLUTIONS --- */

/* --- COMMON STYLES (Used on all pages) --- */
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #2c3e50;
    --secondary: #3498db;
    --accent: #e74c3c;
    --light: #ecf0f1;
    --dark: #2c3e50;
    --gray: #95a5a6;
}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: var(--secondary);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    background: var(--secondary);
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn[disabled] {
    background-color: var(--gray);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--secondary);
}

.btn-outline:hover {
    background: var(--secondary);
    color: white;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo i {
    font-size: 2rem;
    color: var(--secondary);
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--dark);
    font-weight: 500;
}

nav ul li a.active, nav ul li a:hover {
    color: var(--secondary);
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Footer Styles */
footer {
    background: var(--primary);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #bbb;
}

.footer-column ul li a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #bbb;
    font-size: 0.9rem;
}

/* --- PAGE-SPECIFIC STYLES --- */

/* Styles for index.html */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 160px 0 100px;
    text-align: center;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.service-card p {
    flex-grow: 1;
}

.about {
    background: var(--light);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}


/* Generic Page Hero (for about, services, etc.) */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 140px 0 60px;
    text-align: center;
}

.page-hero h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.page-hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Styles for about.html */
.about-content {
    margin-bottom: 80px;
}
.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
}
.about-image i {
    font-size: 10rem;
    color: var(--secondary);
}
.mission-vision {
    background: var(--light);
}
.mv-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}
.mv-card {
    background: white;
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.mv-card:hover {
    transform: translateY(-10px);
}
.mv-card i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
}
.mv-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.value-card {
    text-align: center;
    padding: 30px 20px;
}
.value-icon {
    width: 80px;
    height: 80px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}
.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary);
}
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-align: center;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}
.stat-item {
    padding: 20px;
}
.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}
.cta {
    background: white;
    text-align: center;
}

/* Styles for pricing.html */
.pricing-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}
.pricing-message {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}
.pricing-message i {
    font-size: 4rem;
    color: var(--secondary);
    margin-bottom: 20px;
}
.pricing-message h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
}
.pricing-message p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--gray);
}
.service-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.service-category {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.service-category:hover {
    transform: translateY(-10px);
}
.service-category i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
}
.service-category h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}
.service-category p {
    margin-bottom: 20px;
    color: var(--gray);
}
.faq-section {
    background: var(--light);
}
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}
.faq-question {
    padding: 20px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary);
}
.faq-question i {
    transition: transform 0.3s ease;
}
.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 200px;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Styles for services.html */
.service-features {
    list-style: none;
    margin-bottom: 20px;
    padding-left: 0;
}
.service-features li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}
.service-features li:last-child {
    border-bottom: none;
}
.service-features li i {
    font-size: 1rem;
    color: var(--accent);
    margin-right: 10px;
    margin-bottom: 0;
}
.wireless-solutions {
    background: var(--light);
}
.wireless-content {
    display: flex;
    align-items: center;
    gap: 50px;
}
.wireless-text {
    flex: 1;
}
.wireless-image {
    flex: 1;
    text-align: center;
}
.wireless-image i {
    font-size: 10rem;
    color: var(--secondary);
    opacity: 0.8;
}
.process-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    position: relative;
}
.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: var(--secondary);
    z-index: 1;
    opacity: 0.5;
}
.process-step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}
.step-number {
    width: 80px;
    height: 80px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 20px;
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--secondary);
}
.process-step h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary);
}

/* Styles for solutions.html */
.solutions-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 10px;
}
.tab-btn {
    padding: 12px 24px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}
.tab-btn.active, .tab-btn:hover {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.solution-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.solution-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.solution-card:hover {
    transform: translateY(-10px);
}
.solution-card i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 20px;
}
.solution-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}
.solution-card p {
    flex-grow: 1;
}
.solution-features li i {
    font-size: 1rem;
    color: var(--accent);
    margin-right: 10px;
    margin-bottom: 0;
}
.industry-solutions {
    background: var(--light);
}
.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.industry-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.industry-card:hover {
    transform: translateY(-10px);
}
.industry-icon {
    height: 150px;
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}
.industry-icon i {
    font-size: 4rem;
    color: white;
}
.industry-content {
    padding: 25px;
}
.industry-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary);
}


/* Styles for contact.php */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-top: 5px;
}
.contact-details h3 {
    margin-bottom: 5px;
    color: var(--primary);
}
.contact-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border 0.3s ease;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--secondary);
    outline: none;
}
.form-group textarea {
    height: 150px;
    resize: vertical;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.form-message {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: none;
    border: 1px solid transparent;
}
.form-message.success {
    background: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
    display: block;
}
.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
    display: block;
}
.honeypot {
    position: absolute;
    left: -5000px;
    opacity: 0;
}
.form-loading {
    display: none;
    text-align: center;
    padding: 10px;
    background: #e9ecef;
    border-radius: 4px;
    margin-bottom: 20px;
}
.form-loading i {
    animation: spin 1s linear infinite;
    margin-right: 10px;
}
.captcha-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
}
.captcha-question {
    font-weight: 600;
    color: var(--primary);
}
.captcha-input {
    width: 100px !important;
}
.map-section {
    padding: 0;
    height: 400px;
}
.map-container {
    height: 100%;
    width: 100%;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}
.map-container i {
    font-size: 5rem;
    color: var(--secondary);
    margin-bottom: 20px;
}
.map-container h3 {
    font-size: 1.5rem;
    color: var(--primary);
}

/* --- RESPONSIVE STYLES --- */
@media (max-width: 992px) {
    .about-content, .wireless-content {
        flex-direction: column;
    }
    .process-steps {
        flex-direction: column;
        gap: 40px;
    }
    .process-steps::before {
        display: none;
    }
    .solutions-tabs {
        flex-direction: column;
        align-items: center;
    }
    .tab-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    nav ul.show {
        display: flex;
    }
    nav ul li {
        margin: 10px 0;
    }
    .mobile-menu {
        display: block;
    }
    .hero h2, .page-hero h2 {
        font-size: 2.5rem;
    }
    .section-title h2, .cta h2 {
        font-size: 2rem;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .captcha-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}
