/* ===== CSS Variables ===== */
:root {
    --primary-color: #2A5CAA;
    --secondary-color: #FFD166;
    --accent-color: #4CAF50;
    --light-color: #F5F5F7;
    --dark-color: #333333;
    --text-color: #444444;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

/* ===== Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    padding-top: 76px; /* Offset for fixed navbar */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: #1a4580;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: var(--border-radius);
}

.btn-primary:hover {
    background-color: #1a4580;
    border-color: #1a4580;
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: var(--border-radius);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== Logo Styles ===== */
.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: -0.5px;
}

.logo-text {
    font-style: italic;
    color: #6C757D;
}

.logo-dot {
    color: var(--primary-color);
    font-weight: bold;
}

/* ===== Navigation ===== */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: var(--border-radius);
}

.nav-link:hover, .nav-link.active {
    background-color: rgba(42, 92, 170, 0.1);
    color: var(--primary-color) !important;
}

/* ===== Hero Section ===== */
.hero-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
    position: relative;
    overflow: hidden;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-section .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #555;
}

.hero-buttons {
    margin-top: 2rem;
}

.infographic-hero {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.server-graphic {
    width: 100%;
    height: auto;
    max-width: 500px;
    margin: 0 auto;
    display: block;
}

/* ===== Domain Search ===== */
.domain-search-section {
    background-color: #fff;
}

.domain-search-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border: 1px solid #eaeaea;
}

.domain-extensions .badge {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.domain-extensions .badge:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
    transform: translateY(-2px);
}

.domain-result {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.domain-available {
    background-color: #d4edda;
    border-left: 4px solid var(--accent-color);
}

.domain-unavailable {
    background-color: #f8d7da;
    border-left: 4px solid #dc3545;
}

.domain-status {
    font-weight: bold;
}

.domain-price {
    font-size: 1.2rem;
    font-weight: bold;
}

/* ===== Services Overview ===== */
.services-overview {
    background-color: var(--light-color);
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    height: 100%;
    transition: var(--transition);
    border: 1px solid #eaeaea;
}

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

.service-icon {
    display: inline-block;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* ===== Hosting Plans ===== */
.featured-plans {
    background-color: white;
}

.plan-card {
    background: white;
    border: 1px solid #eaeaea;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.plan-card.popular {
    border: 2px solid var(--primary-color);
    position: relative;
}

.plan-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.plan-header {
    padding: 2rem;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.plan-price {
    margin: 1rem 0;
}

.plan-price .amount {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.plan-price .currency {
    font-size: 1.5rem;
    vertical-align: top;
    color: var(--primary-color);
}

.plan-price .period {
    color: #666;
    font-size: 1rem;
}

.plan-features {
    padding: 2rem;
}

.plan-features ul {
    list-style: none;
    padding: 0;
}

.plan-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features i {
    margin-right: 0.75rem;
    color: var(--accent-color);
}

.plan-cta {
    padding: 0 2rem 2rem;
    text-align: center;
}

/* ===== Trust Signals ===== */
.trust-signals {
    background-color: var(--light-color);
}

.trust-item {
    padding: 1.5rem;
    transition: var(--transition);
}

.trust-item:hover {
    transform: translateY(-5px);
}

.trust-icon {
    color: var(--primary-color);
}

/* ===== Footer ===== */
.footer {
    background-color: #222;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
}

.footer a:hover {
    color: white;
}

.social-links {
    margin-top: 1rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 0.75rem;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* ===== WhatsApp Float Button ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== Page Header ===== */
.page-header {
    padding: 6rem 0 3rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a4580 100%);
    color: white;
}

.page-header h1 {
    color: white;
}

.page-header .lead {
    color: rgba(255, 255, 255, 0.9);
}

/* ===== About Page ===== */
.mission-card, .vision-card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-5px);
}

.mission-icon, .vision-icon {
    display: inline-block;
}

.value-card {
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.value-icon {
    color: var(--primary-color);
}

/* ===== Services Page ===== */
.service-section, .hosting-section, .design-section {
    padding: 5rem 0;
}

.category-title {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.category-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.hosting-comparison table {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.hosting-comparison th {
    background-color: var(--primary-color) !important;
    color: white;
    font-weight: 600;
}

.design-process .process-step {
    display: flex;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 1rem;
}

.step-content h5 {
    margin-bottom: 0.25rem;
}

.design-infographic {
    text-align: center;
}

.design-graphic {
    width: 100%;
    max-width: 500px;
    height: auto;
}

/* ===== Blog Page ===== */
.blog-section {
    padding: 5rem 0;
}

.blog-post.featured {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 3rem;
}

.post-category {
    margin-bottom: 1rem;
}

.post-title {
    font-size: 1.75rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.post-meta {
    color: #666;
    font-size: 0.9rem;
}

.post-excerpt {
    margin-bottom: 1.5rem;
}

.infographic-blog {
    text-align: center;
    margin: 2rem 0;
}

.comparison-graphic {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 0 auto;
}

.blog-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.25rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-color);
}

/* ===== Contact Page ===== */
.contact-section {
    padding: 5rem 0;
}

.contact-info {
    position: sticky;
    top: 100px;
}

.contact-method {
    display: flex;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    margin-right: 1rem;
}

.contact-details h5 {
    margin-bottom: 0.25rem;
}

.contact-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.location-map {
    text-align: center;
    margin: 2rem 0;
}

.alexandria-map {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 0 auto;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a4580 100%);
    color: white;
}

.cta-section h2, .cta-section p {
    color: white;
}

/* ===== Thank You Page ===== */
.thank-you-section {
    padding: 8rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.thank-you-icon {
    display: inline-block;
}

.confirmation-details .card {
    border-color: #28a745;
    background-color: rgba(40, 167, 69, 0.05);
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    body {
        padding-top: 66px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
    
    .domain-search-card {
        padding: 1.5rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .plan-card {
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 4rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
}

/* ===== Utility Classes ===== */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}