/*! Custom CSS for cPanel.support */

/* Base Styles & Variables
   ========================================================================== */
   :root {
    --primary-color: #ff6c2c;
    --primary-dark: #e55b1e;
    --secondary-color: #235477;
    --secondary-dark: #1b425e;
    --text-color: #333333;
    --text-light: #6f6f6f;
    --text-lighter: #999999;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-dark: #1e2a3a;
    --border-color: #e1e4e8;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
    --container-width: 1200px;
    --header-height: 80px;
}

/* Reset & Base Typography
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%; /* Makes 1rem = 10px */
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 2rem;
    color: var(--text-color);
}

h1 {
    font-size: 4.2rem;
}

h2 {
    font-size: 3.6rem;
    margin-bottom: 3rem;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

p {
    margin-bottom: 2rem;
}

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

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    margin-bottom: 2rem;
    padding-left: 2rem;
}

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

/* Layout & Container
   ========================================================================== */
.container {
    max-width: var(--container-width);
    width: 90%;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 8rem 0;
}

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

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

.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 {
    color: var(--bg-white);
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Header & Navigation
   ========================================================================== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

#header.scrolled {
    box-shadow: var(--shadow-md);
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

#logo {
    font-size: 2.4rem;
    font-weight: 700;
}

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

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background: var(--text-color);
    height: 2px;
    width: 2.4rem;
    position: relative;
    transition: var(--transition);
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: '';
    position: absolute;
}

.nav-toggle-label span::before {
    bottom: 8px;
}

.nav-toggle-label span::after {
    top: 8px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin-left: 3rem;
}

.nav-menu li a {
    color: var(--text-color);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    padding: 1rem 0;
    display: inline-block;
}

.nav-menu li a:hover {
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: green;
    color: white;
}

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

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

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.8rem;
}

/* Hero Section
   ========================================================================== */
#hero {
    padding: 18rem 0 10rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    color: white;
    text-align: center;
}

#hero h1 {
    color: white;
    margin-bottom: 2rem;
    font-size: 4.8rem;
}

#hero .lead {
    font-size: 2.2rem;
    max-width: 80rem;
    margin: 0 auto 4rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

/* Disclaimer Section
   ========================================================================== */
#disclaimer {
    padding: 3rem 0;
}

.disclaimer-box {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}

.disclaimer-box h4 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.disclaimer-box p {
    margin-bottom: 0;
    font-size: 1.4rem;
    color: var(--text-light);
}

/* Resources Section
   ========================================================================== */
.section-intro {
    text-align: center;
    max-width: 70rem;
    margin: 0 auto 5rem;
    font-size: 1.8rem;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
    gap: 3rem;
}

.resource-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
}

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

.resource-icon {
    margin-bottom: 2rem;
}

.resource-card h3 {
    margin-bottom: 1.5rem;
}

.resource-card p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.resource-link {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
}

.arrow {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.resource-link:hover .arrow {
    transform: translateX(3px);
}

/* Services Section
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(28rem, 1fr));
    gap: 3rem;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.service-card.featured {
    border: 2px solid var(--primary-color);
}

.featured-label {
    position: absolute;
    top: -1.5rem;
    right: 2rem;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 1.4rem;
    font-weight: 500;
}

.service-card h3 {
    margin-bottom: 1.5rem;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-bottom: 3rem;
}

.feature-list li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1rem;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.service-card .btn {
    margin-top: auto;
}

/* Migration Section
   ========================================================================== */
.migration-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4rem;
}

.migration-info {
    flex: 1;
    min-width: 30rem;
}

.migration-image {
    flex: 1;
    min-width: 30rem;
    display: flex;
    justify-content: center;
}

.migration-features {
    list-style: none;
    padding: 0;
    margin-bottom: 3rem;
}

.migration-features li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.check-icon {
    color: var(--primary-color);
    margin-right: 1rem;
    font-weight: bold;
}

/* Features Section
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
    gap: 4rem;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    margin-bottom: 2rem;
}

.feature-item h3 {
    margin-bottom: 1.5rem;
}

.feature-item p {
    color: var(--text-light);
}

/* CTA Section
   ========================================================================== */
#cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    padding: 10rem 0;
}

#cta h2 {
    color: white;
    margin-bottom: 2rem;
}

#cta p {
    font-size: 2rem;
    max-width: 60rem;
    margin: 0 auto 4rem;
}

/* Footer
   ========================================================================== */
#footer {
    background-color: var(--bg-dark);
    color: white;
    padding: 8rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
    gap: 4rem;
    margin-bottom: 6rem;
}

.footer-col h4 {
    color: white;
    margin-bottom: 2.5rem;
    font-size: 1.8rem;
}

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

.footer-col ul li {
    margin-bottom: 1.2rem;
}

.footer-col ul li a {
    color: var(--text-lighter);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.copyright p {
    color: var(--text-lighter);
    margin: 0;
}

.legal-links {
    display: flex;
    gap: 2rem;
}

.legal-links a {
    color: var(--text-lighter);
}

.legal-links a:hover {
    color: white;
}

.disclaimer-footer p {
    color: var(--text-lighter);
    font-size: 1.2rem;
    margin: 0;
}

/* Responsive Styles
   ========================================================================== */
@media (max-width: 1200px) {
    html {
        font-size: 60%;
    }
}

@media (max-width: 992px) {
    html {
        font-size: 58%;
    }
    
    .resources-grid, 
    .services-grid,
    .features-grid {
        grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
    }
}

@media (max-width: 768px) {
    section {
        padding: 6rem 0;
    }
    
    #hero {
        padding: 14rem 0 8rem;
    }
    
    h1 {
        font-size: 3.6rem;
    }
    
    h2 {
        font-size: 3rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .btn {
        width: 100%;
        max-width: 30rem;
    }
    
    .migration-content {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .nav-toggle-label {
        display: block;
        position: relative;
        z-index: 2;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 30rem;
        height: 100vh;
        background-color: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        box-shadow: var(--shadow-lg);
        padding: 5rem 0;
        z-index: 1;
    }
    
    .nav-menu li {
        margin: 1.5rem 0;
    }
    
    .nav-toggle:checked ~ .nav-menu {
        right: 0;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span {
        background: transparent;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span::after {
        transform: rotate(-45deg);
        top: 0;
    }
    
    .resources-grid, 
    .services-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    #hero h1 {
        font-size: 3.2rem;
    }
    
    #hero .lead {
        font-size: 1.8rem;
    }
}

/* Fixes for Additional Support Options Section */
.resources-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin: 0 auto;
    max-width: var(--container-width);
}

.resource-card {
    flex: 1 1 30%;
    min-width: 25rem;
    max-width: calc(33.333% - 2rem);
    margin: 0;
}

/* Make each card equal height */
.resource-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.resource-card .resource-icon,
.resource-card h3,
.resource-card p {
    text-align: center;
}

.resource-card .resource-link {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
}

/* Footer Fixes */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
    gap: 4rem;
    margin-bottom: 6rem;
    justify-content: center;
}

.footer-col {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.footer-col h4 {
    text-align: left;
}

.footer-col ul {
    padding-left: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 3rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    text-align: center;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .resources-grid {
        justify-content: center;
    }
    
    .resource-card {
        flex: 1 1 100%;
        max-width: 40rem;
    }
    
    .footer-col h4,
    .footer-col ul {
        text-align: center;
    }
}