/* HostingDuniya Static Site CSS
   Brand Colors:
   Primary: #00695C (Deep Teal-Green)
   Accent:  #FF6F00 (Vibrant Amber)
   Success: #2E7D32 (Green)
   Warning: #FFC107 (Yellow)
   Danger:  #C62828 (Red)
   Info:    #0277BD (Blue)
*/

:root {
    --primary: #00695C;
    --primary-dark: #004D40;
    --primary-light: #00897B;
    --accent: #FF6F00;
    --accent-light: #FF8F00;
    --success: #2E7D32;
    --warning: #FFC107;
    --danger: #C62828;
    --info: #0277BD;
    --text-dark: #37474F;
    --text-medium: #546E7A;
    --text-light: #78909C;
    --bg-light: #F5F5F5;
    --bg-white: #FFFFFF;
    --border: #E0E0E0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

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

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

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--bg-white);
    border-bottom: 3px solid var(--accent);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.logo img {
    height: 50px;
}

/* Navigation */
.nav {
    background: var(--primary);
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    color: #fff;
    padding: 15px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-item.active .nav-link {
    background: var(--primary-light);
    color: var(--accent);
}

/* Dropdown */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary-dark);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    border-top: 2px solid var(--accent);
    z-index: 100;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: block;
    color: #fff;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.dropdown a:hover {
    background: var(--primary-light);
    color: var(--accent);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 15px 20px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-light);
    color: #fff;
}

.btn-accent {
    background: var(--accent);
    color: #fff;
}

.btn-accent:hover {
    background: var(--accent-light);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background: #fff;
    color: var(--primary);
}

/* Section Styles */
.section {
    padding: 60px 0;
}

.section-white {
    background: var(--bg-white);
}

.section-light {
    background: var(--bg-light);
}

.section-dark {
    background: var(--primary);
    color: #fff;
}

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

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

.section-dark .section-title h2 {
    color: #fff;
}

.section-title p {
    color: var(--text-medium);
    font-size: 18px;
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.feature-card .icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card .icon img {
    width: 40px;
    height: 40px;
}

.feature-card h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-medium);
    font-size: 15px;
}

/* Pricing Tables */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: start;
}

.pricing-card {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.featured {
    border: 2px solid var(--accent);
    transform: scale(1.02);
}

.pricing-card.featured:hover {
    transform: scale(1.04);
}

.pricing-header {
    background: var(--primary);
    color: #fff;
    padding: 25px;
    text-align: center;
}

.pricing-card.featured .pricing-header {
    background: var(--accent);
}

.pricing-header h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.pricing-header .badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-top: 10px;
}

.pricing-price {
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.pricing-price .amount {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent);
}

.pricing-price .period {
    color: var(--text-medium);
    font-size: 16px;
}

.pricing-features {
    padding: 25px;
}

.pricing-features ul {
    list-style: none;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
}

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

.pricing-features li::before {
    content: "✓";
    color: var(--success);
    font-weight: 700;
    margin-right: 10px;
}

.pricing-footer {
    padding: 20px 25px 30px;
    text-align: center;
}

.pricing-footer .btn {
    width: 100%;
}

/* Tech Logos */
.tech-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    padding: 40px 0;
}

.tech-logos img {
    height: 50px;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.tech-logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 48px;
    color: var(--accent);
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 16px;
    color: var(--text-medium);
}

/* Datacenter */
.dc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.dc-card {
    background: var(--bg-white);
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid var(--primary);
}

.dc-card h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

.dc-card .flag {
    font-size: 32px;
    margin-bottom: 10px;
}

/* Footer */
.footer {
    background: var(--primary);
    color: #fff;
    padding: 60px 0 0;
}

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

.footer-col h4 {
    color: var(--accent);
    font-size: 18px;
    margin-bottom: 20px;
}

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

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: rgba(255,255,255,0.8);
}

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

.footer-bottom {
    background: var(--primary-dark);
    padding: 20px 0;
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 50px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.page-header .breadcrumb {
    font-size: 14px;
    opacity: 0.8;
}

.page-header .breadcrumb a {
    color: #fff;
}

/* Content Styles */
.content {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 8px;
    margin: -30px auto 40px;
    max-width: 900px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.content h2 {
    color: var(--primary);
    margin: 30px 0 15px;
    font-size: 28px;
}

.content h3 {
    color: var(--primary);
    margin: 25px 0 10px;
    font-size: 22px;
}

.content ul, .content ol {
    margin: 15px 0 15px 25px;
}

.content li {
    margin-bottom: 8px;
}

.content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.content th {
    background: var(--primary);
    color: #fff;
    padding: 12px 15px;
    text-align: left;
}

.content td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border);
}

.content tr:hover {
    background: var(--bg-light);
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 4px;
    margin: 20px 0;
    border-left: 4px solid;
}

.alert-success {
    background: #E8F5E9;
    border-color: var(--success);
    color: #1B5E20;
}

.alert-warning {
    background: #FFF8E1;
    border-color: var(--warning);
    color: #F57F17;
}

.alert-danger {
    background: #FFEBEE;
    border-color: var(--danger);
    color: #B71C1C;
}

.alert-info {
    background: #E3F2FD;
    border-color: var(--info);
    color: #01579B;
}

/* Domain Pricing Table */
.domain-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.domain-table th {
    background: var(--primary);
    color: #fff;
    padding: 15px 20px;
    font-weight: 600;
}

.domain-table td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.domain-table tr:hover {
    background: var(--bg-light);
}

.domain-table .tld {
    font-weight: 700;
    color: var(--primary);
    text-align: left;
}

.domain-table .price {
    font-weight: 600;
    color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .nav-list.active {
        display: flex;
    }

    .nav-link {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: var(--primary-dark);
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .content {
        padding: 20px;
        margin: -20px 10px 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .btn {
        display: block;
        width: 100%;
    }
}
