/* css/styles.css (updated for navbar alignment & sidebar centering) */

/* Import for Montserrat Font    */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

/* TEMPORARY (under construction badge) - Keeping in CSS File for future use */
/* Floating Badge */
#floating-dev-badge {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #ffcc00;
    color: black;
    padding: 12px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
}

#floating-dev-badge:hover {
    transform: scale(1.1);
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3);
}

/* Floating Badge Popup */
#dev-popup {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: #fff;
    color: #333;
    padding: 15px;
    width: 250px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    display: none; /* Hidden by default */
    z-index: 1001;
}

#dev-popup button {
    display: block;
    width: 100%;
    background: #ffcc00;
    color: #000;
    padding: 8px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s ease;
}

#dev-popup button:hover {
    background: #e6b800;
}
/* TEMPORARY (under construction badge) - Keeping in CSS File for future use */

/* Dark Mode Toggle - Container */
#theme-toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 12px; /* moved to right side spacing */
}

/* Toggle Button */
#dark-mode-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--button-bg);
    border: none;
    color: var(--button-text);
    padding: 10px;
    border-radius: 50%; /* Circular button */
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.3s ease-in-out, transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    width: 40px;
    height: 40px;
}

/* Icon */
#dark-mode-toggle i {
    font-size: 1.2rem;
}

/* Button Hover Effect */
#dark-mode-toggle:hover {
    background: var(--button-hover-bg);
    color: var(--button-hover-text);
    box-shadow: 0 4px 10px var(--box-shadow-hover);
    transform: scale(1.1);
}

/* Button Active Effect */
#dark-mode-toggle:active {
    transform: scale(0.95);
}

/* Dark Mode Styling */
.dark-mode #dark-mode-toggle {
    background: var(--button-hover-bg);
    color: var(--button-hover-text);
}

/* Dark Mode Icon Rotation */
.dark-mode #theme-icon {
    transform: rotate(180deg);
    transition: transform 0.3s ease-in-out;
}

/* Define Light & Dark Mode Variables */
:root {
    --bg-color: #ffffff;
    --text-color: #333;
    --secondary-text: #555;
    --primary-color: #ffcc00;
    --secondary-color: #ff9900;
    --teritary-color: #000;
    --accent-color: #fff;
    --highlight-dark: #e6b800;
    --button-text: #000;
    --button-bg: #ffcc00;
    --button-hover-bg: #000;
    --button-hover-text: #ffcc00;
    --header-bg: #fff;
    --header-hover: #f9f9f9;
    --nav-text: #000;
    --nav-hover: #ffcc00;
    --cookie-bg: rgba(0, 0, 0, 0.9);
    --cookie-text: white;
    --cookie-button-bg: #ffcc00;
    --cookie-button-text: black;
    --sidebar-bg: #fff;
    --sidebar-text: #000;
    --border-color: #ddd;
    --box-shadow: rgba(0, 0, 0, 0.1);
    --box-shadow-hover: rgba(0, 0, 0, 0.2);
    --card-bg: #fff;
    --toggle-bg: #e0e0e0;
    --toggle-text: #888;
    --modal-bg: #fff;
    --modal-text: #000;
    --footer-bg: #000;
    --footer-text: #fff;
    --footer-link: #ffcc00;
    --footer-hover: #fff;
    --footer-border: #333;
    --hero-bg: url('CL_Hero.jpg') no-repeat center center/cover;
    --hero-overlay: linear-gradient(to top, white, transparent);
    --faq-bg: #fff;
    --faq-border: #ddd;
    --faq-text: #333;
    --faq-answer-bg: #f3f3f3;
    --cta-bg: #ffcc00;
    --cta-text: #000;
    --cta-hover-bg: #000;
    --cta-hover-text: #ff9900;
    --pricing-bg: #fff;
    --pricing-text: #333;
    --pricing-card-bg: #fff;
    --pricing-border: #ddd;
    --pricing-hover-bg: rgba(0, 0, 0, 0.1);
    --error-bg: #000;
    --error-text: #fff;
    --error-link-hover: #fff;
    --glitch-shadow: rgba(255, 204, 0, 0.6);
    --error-bg-animation: linear-gradient(45deg, rgba(255, 204, 0, 0.1), rgba(255, 204, 0, 0.3));
    --form-bg: #fff;
    --form-border: #ccc;
    --form-placeholder: #777;
}

/* Dark Mode Variables */
.dark-mode {
    --bg-color: #121212;
    --text-color: #f5f5f5;
    --secondary-text: #b3b3b3;
    --primary-color: #ffcc00;
    --primary-color-dark: #ffcc00;
    --secondary-color: #ff9900;
    --teritary-color: #000;
    --accent-color: #fff;
    --highlight-dark: #e6b800;
    --button-text: #000;
    --button-bg: #ffcc00;
    --button-hover-bg: #ffcc00;
    --button-hover-text: #000;
    --header-bg: #1e1e1e;
    --header-hover: #2a2a2a;
    --nav-text: #fff;
    --nav-hover: #ffcc00;
    --cookie-bg: rgba(255, 255, 255, 0.1);
    --cookie-text: white;
    --cookie-button-bg: #ffcc00;
    --cookie-button-text: black;
    --sidebar-bg: #1e1e1e;
    --sidebar-text: #fff;
    --border-color: #333;
    --box-shadow: rgba(255, 255, 255, 0.1);
    --box-shadow-hover: rgba(255, 255, 255, 0.2);
    --card-bg: #1e1e1e;
    --toggle-bg: #444;
    --toggle-text: #ccc;
    --modal-bg: #1e1e1e;
    --modal-text: #fff;
    --footer-bg: #1e1e1e;
    --footer-text: #f5f5f5;
    --footer-link: #ffcc00;
    --footer-hover: #e6b800;
    --footer-border: #555;
    --hero-bg: url('CL_Hero_Dark.jpg') no-repeat center center/cover;
    --hero-overlay: linear-gradient(to top, #121212, transparent);
    --faq-bg: #1e1e1e;
    --faq-border: #444;
    --faq-text: #f5f5f5;
    --faq-answer-bg: #2a2a2a;
    --cta-bg: #ffcc00;
    --cta-text: #000;
    --cta-hover-bg: #ff9900;
    --cta-hover-text: #000;
    --pricing-bg: #1e1e1e;
    --pricing-text: #f5f5f5;
    --pricing-card-bg: #2a2a2a;
    --pricing-border: #444;
    --pricing-hover-bg: rgba(255, 255, 255, 0.1);
    --error-bg: #121212;
    --error-text: #f5f5f5;
    --error-link-hover: #e6b800;
    --glitch-shadow: rgba(255, 204, 0, 0.9);
    --error-bg-animation: linear-gradient(45deg, rgba(255, 204, 0, 0.2), rgba(255, 204, 0, 0.4));
    --form-bg: #1e1e1e;
    --form-border: #444;
    --form-placeholder: #999;
}

/* Full Body */
body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background-color: var(--bg-color);
    text-align: center;
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* Smooth transition for all elements */
.dark-mode * {
    transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease;
}

/* Selection Highlight */
*::selection {
    background-color: var(--primary-color);
    color: var(--button-text);
}

/* Full Header */
header {
    background: var(--header-bg);
    color: var(--nav-text);
    padding: 20px 90px 20px 50px; /* Top, Right, Bottom, Left */
    position: sticky;
    top: 0;
    display: flex;
    flex-wrap: nowrap; /* prevent wrapping under logo */
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

@media screen and (max-width: 767px) {
    header {
        padding: 20px;
    }
}

header:hover {
    background-color: var(--header-hover);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

header .logo img {
    height: 70px;
    transition: height 0.3s ease;
}

/* NEW: Ensure nav wrapper lays out correctly */
.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
}

/* Navigation Bar w/ Sidebar */
nav {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* push to right side */
    flex: 1 1 auto;           /* allow it to consume remaining space */
    gap: 16px;
    flex-wrap: nowrap;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;  /* ensure nav sticks to the right */
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 20px; /* Adds more spacing between nav items */
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: var(--nav-text);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--nav-hover);
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: var(--nav-hover);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}
/* End of Full Header */

/* Cookie Consent Banner */
#cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: var(--cookie-bg);
    color: var(--cookie-text);
    padding: 12px 18px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    text-align: center;
    z-index: 9999;
    max-width: 300px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Cookie Consent Content */
#cookie-content {
    padding: 10px;
}

/* Buttons */
#cookie-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

#cookie-consent button {
    width: 100%;
    background: var(--cookie-button-bg);
    border: none;
    color: var(--cookie-button-text);
    padding: 12px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease;
}

#cookie-consent button:hover {
    background: #e6b800;
    transform: scale(1.05);
}

/* Decline Button */
#decline-cookies {
    background: #444;
    color: white;
}

#decline-cookies:hover {
    background: #222;
}
/* End of Cookie Consent Banner */

/* Sidebar */
.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5em;
    background: none;
    border: none;
    color: var(--nav-text); /* ensure visible in both modes */
}

.menu-toggle:hover {
    opacity: 0.85;
}

/* Sidebar Divider */
.sidebar-divider {
    width: 40%;
    height: 2px;
    background-color: var(--primary-color);
    margin: 20px auto;
    border-radius: 3px;
}

/* Sidebar Logo */
.sidebar-logo {
    text-align: center;
    padding: 0px 0;
}

.sidebar-logo img {
    width: 100px;
    height: auto;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.sidebar-logo img:hover {
    opacity: 1;
}

.sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: -300px;
    height: 100%;
    width: 250px;
    background: var(--sidebar-bg);
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: left 0.3s ease;
    z-index: 2000;
}

.sidebar.show {
    left: 0;
}

.sidebar .close-btn {
    font-size: 1.5em;
    text-align: right;
    cursor: pointer;
    color: var(--sidebar-text);
    margin-bottom: 20px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center; /* center items in the column */
    gap: 15px;
}

.sidebar ul li {
    width: 100%;
}

.sidebar ul li a {
    text-decoration: none;
    color: var(--sidebar-text);
    font-weight: 500;
    font-size: 1.2em;
    display: block;
    width: 100%;
    text-align: center; /* align text in the middle */
}

.sidebar ul li a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .sidebar {
        display: block;
    }
}
/* End of Sidebar */

/* Hero Banner */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: url('CL_Hero.jpg') no-repeat center center/cover !important;
    position: relative;
    overflow: hidden;
    background-size: cover;
    transition: background 0.5s ease;
}

/* Dark Mode Hero Banner */
.dark-mode .hero {
    background: url('CL_Hero_Dark.jpg') no-repeat center center/cover !important;
}

/* Gradient Overlay */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--bg-color), transparent);
    z-index: 1;
}

/* Hero Title */
.hero h1 {
    font-size: 3rem;
    margin: 0;
    text-align: center;
    color: var(--text-color);
    text-shadow: 1px 1px 5px rgba(255, 255, 255, 0.8);
    z-index: 2;
    position: relative;
    transition: color 0.5s ease;
}

/* Dark Mode Hero Title */
.dark-mode .hero h1 {
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
}

/* Hero Subtitle */
.hero p {
    font-size: 1.5rem;
    margin: 20px 0;
    text-align: center;
    color: var(--text-color);
    text-shadow: 1px 1px 5px rgba(255, 255, 255, 0.8);
    z-index: 2;
    position: relative;
    transition: color 0.5s ease;
}

/* Dark Mode Hero Subtitle */
.dark-mode .hero p {
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
}

/* CTA Buttons */
.cta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    z-index: 2;
    position: relative;
}

.cta button {
    padding: 10px 20px;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    background-color: var(--primary-color);
    color: var(--button-text);
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Hover Effect */
.cta button:hover {
    background-color: var(--button-text);
    color: var(--primary-color);
    transform: scale(1.05);
}
/* End of Hero Banner */

/* Services Section */
.services-section {
    background-color: transparent;
    padding: 50px 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: -60px;
    transition: background-color 0.5s ease;
}

/* Dark Mode Services Section */
.dark-mode .services-section {
    background-color: var(--bg-color);
}

/* Services Title */
.services-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-color);
    transition: color 0.5s ease;
}

/* Services Subtitle */
.services-subheading {
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.6;
    transition: color 0.5s ease;
}

/* Services Features */
.services-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    text-align: left;
    text-decoration: none !important;
}

/* Service Feature Cards */
.service-feature {
    border-radius: 10px;
    text-decoration: none !important;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s, box-shadow 0.3s ease, background-color 0.5s ease, color 0.5s ease;
}

/* Alternating Service Feature Backgrounds */
.service-feature:nth-child(odd) {
    background-color: var(--bg-color);
    color: var(--text-color);
}

/* Dark Mode */
.dark-mode .service-feature:nth-child(odd) {
    background-color: #222;
    color: #f5f5f5;
}

/* Yellow Gradient for Even Items */
.service-feature:nth-child(even) {
    background: linear-gradient(90deg, var(--primary-color), #FF9900);
    color: #000;
}

/* Dark Mode Yellow Gradient */
.dark-mode .service-feature:nth-child(even) {
    background: linear-gradient(90deg, #ffcc00, #ff9900);
    color: #000;
}

/* White Icons on Yellow Background */
.service-feature:nth-child(even) i {
    color: #FFFFFF;
}

/* Hover Effects */
.service-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Service Feature Icons */
.service-feature i {
    font-size: 40px;
}

/* Service Feature Title */
.service-feature h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: inherit;
    transition: color 0.5s ease;
}

/* Service Feature Paragraph */
.service-feature p {
    font-size: 14px;
    color: inherit;
    line-height: 1.5;
    text-align: left;
    transition: color 0.5s ease;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .services-section h2 {
        font-size: 28px;
    }

    .services-subheading {
        font-size: 14px;
    }

    .services-features {
        grid-template-columns: 1fr;
    }

    .service-feature {
        flex-direction: column;
        text-align: center;
    }
}
/* End of Services Section */

/* Email Plans */
section {
    padding: 40px 20px;
    text-align: center;
    background-color: var(--bg-color);
    transition: background-color 0.5s ease;
}

/* Section Headings */
section h1 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 10px;
    transition: color 0.5s ease;
}

/* Section Paragraphs */
section p {
    font-size: 1rem;
    color: var(--secondary-text);
    margin-bottom: 30px;
    transition: color 0.5s ease;
}

/* Toggle Switch Container */
.toggle-container {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* Toggle Labels */
.toggle-container .toggle-label {
    font-size: 1rem;
    font-weight: bold;
    color: var(--text-color);
    transition: color 0.5s ease;
}

/* Hide Default Checkbox */
.toggle-container input {
    display: none;
}

/* Toggle Switch */
.toggle-container .slider {
    width: 200px;
    height: 50px;
    background-color: var(--toggle-bg);
    border-radius: 25px;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Toggle Options */
.toggle-container .slider .option {
    position: absolute;
    width: 50%;
    height: 100%;
    line-height: 50px;
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
    color: var(--toggle-text);
    transition: color 0.3s ease;
}

/* Left Option (Monthly) */
.toggle-container .slider .option.left {
    left: 0;
    color: var(--teritary-color);
    background-color: var(--primary-color);
    border-radius: 25px 0 0 25px;
}

/* Right Option (Yearly) */
.toggle-container .slider .option.right {
    right: 0;
    color: var(--toggle-text);
}

/* Toggle State: Monthly */
.toggle-container input:checked+.slider .option.left {
    color: var(--toggle-text);
    background-color: transparent;
}

/* Toggle State: Yearly */
.toggle-container input:checked+.slider .option.right {
    color: var(--header-bg);
    background-color: #0F5F21;
    border-radius: 0 25px 25px 0;
}

/* ✅ Dark Mode Styling */
.dark-mode .toggle-container .slider .option.left {
    color: var(--teritary-color); /* Ensures text is visible */
    background-color: var(--primary-color); /* Slightly darker background for dark mode */
}

.dark-mode .toggle-container .slider .option.right {
    color: var(--secondary-text);
}

.dark-mode .toggle-container input:checked+.slider .option.right {
    color: #fff;
    background-color: #0F5F21; /* Green toggle for yearly */
}

/* Pricing Table */
.pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Pricing Items */
.pricing-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 6px var(--box-shadow);
    text-align: center;
    padding: 20px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.5s ease, border-color 0.5s ease;
}

/* Hover Effect */
.pricing-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px var(--box-shadow-hover);
}

/* Best Value Badge */
.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #0F5F21;
    color: #fff;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 12px;
}

/* Pricing Header */
.pricing-header {
    margin-bottom: 15px;
}

/* Pricing Header Title */
.pricing-header h2 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 5px;
    transition: color 0.5s ease;
}

/* Pricing Price */
.pricing-header .price {
    font-size: 1.75rem;
    color: var(--primary-color);
    transition: color 0.5s ease;
}

/* Strikethrough for Old Prices */
.pricing-header .price .strikethrough {
    text-decoration: line-through;
    color: var(--secondary-text);
    font-size: 1rem;
    margin-right: 5px;
    transition: color 0.5s ease;
}

/* Small Text */
.pricing-header small {
    display: block;
    color: var(--secondary-text);
    font-size: 0.875rem;
    transition: color 0.5s ease;
}

/* Pricing Body */
.pricing-body {
    text-align: left;
    margin: 20px 0;
}

/* Pricing List */
.pricing-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Pricing List Items */
.pricing-body ul li {
    font-size: 1rem;
    padding: 5px 0;
    display: flex;
    align-items: center;
}

/* Checkmarks for List Items */
.pricing-body ul li::before {
    content: '\2713'; /* Checkmark */
    color: #0F5F21;
    margin-right: 10px;
}

/* Pricing Button */
.pricing-btn {
    display: inline-block;
    text-decoration: none;
    background-color: var(--primary-color);
    color: var(--button-text);
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: -10px;
}

/* Hover Effect */
.pricing-btn:hover {
    background-color: var(--button-hover-bg);
    color: var(--primary-color);
}

/* Dark Mode */
.dark-mode section {
    background-color: var(--bg-dark);
}

.dark-mode .pricing-item {
    background-color: var(--card-dark);
    border: 1px solid var(--border-dark);
}

.dark-mode .pricing-header h2 {
    color: var(--text-dark);
}

.dark-mode .pricing-header .price {
    color: var(--highlight-dark);
}

.dark-mode .pricing-body ul li::before {
    color: var(--primary-color);
}

.dark-mode .pricing-btn {
    background-color: var(--primary-color);
    color: var(--teritary-color);
}

.dark-mode .pricing-btn:hover {
    background-color: var(--accent-color);
    color: var(--teritary-color);
}

/* EMAIL FORM MODAL */
/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    font-family: 'Montserrat', sans-serif;
    transition: background 0.3s ease-in-out;
}

/* Modal Content */
.modal-content {
    background: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 450px;
    text-align: center;
    position: relative;
    box-shadow: 0px 4px 10px var(--box-shadow);
    font-family: 'Montserrat', sans-serif;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Modal Title */
.modal h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

/* Modal Text */
.modal p {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
}

/* Form Styling */
.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Labels */
.modal-content label {
    font-size: 1rem;
    font-weight: 500;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
}

/* Selected Package Field */
.selected-package {
    background: rgba(255, 204, 0, 0.15); /* Light yellow background */
    color: var(--text-color); /* Text color adapts to mode */
    font-weight: 500;
    text-align: center;
    padding: 10px;
    font-size: 1.1rem;
    border-radius: 6px;
    box-shadow: 0px 2px 4px var(--box-shadow); /* Soft shadow */
    margin-bottom: 15px;
    border-left: 5px solid var(--primary-color); /* Thin left border for subtle emphasis */
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Adjust Form Layout */
.modal-content form .form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Input Fields */
.modal-content input {
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    outline: none;
    background: var(--bg-color);
    color: var(--text-color);
    transition: border-color 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

/* Input Focus Effect */
.modal-content input:focus {
    border-color: var(--primary-color);
}

/* Submit Button */
.modal-content button {
    background: var(--primary-color);
    color: var(--button-text);
    font-weight: bold;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    padding: 10px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease-in-out, color 0.3s ease-in-out, transform 0.2s ease;
}

/* Submit Button Hover Effect */
.modal-content button:hover {
    background: var(--accent-color);
    color: var(--button-hover-text);
    transform: scale(1.05);
}

/* Close Button */
.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
    transition: color 0.3s ease-in-out;
}

/* Close Button Hover Effect */
.close-modal:hover {
    color: var(--primary-color);
}
/* EMAIL FORM MODAL */

/* Form Message Styling */
.form-message {
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    display: none; /* Initially hidden */
    border: 1px solid transparent;
    transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

/* Success Message */
.success-message {
    background: rgba(15, 95, 33, 0.1); /* Soft green tint */
    border: 1px solid #0F5F21;
    color: #0F5F21;
}

/* Error Message */
.error-message {
    background: rgba(211, 47, 47, 0.1); /* Soft red tint */
    border: 1px solid #D32F2F;
    color: #D32F2F;
}

/* Show Message */
.show-message {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

/* Smooth Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* End of Form Message Styling */

/* Domain Pricing Info */
.domain-pricing-info {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--secondary-text);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Domain Transfer Notice */
.domain-transfer-notice {
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--secondary-text);
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
/* End of Domain Pricing Info */

/* FAQ Container */
.faq-container {
    max-width: 900px;
    margin: 20px auto;
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 8px var(--box-shadow);
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* FAQ Heading */
.faq-container h2 {
    font-size: 2rem;
    text-align: center;
    color: var(--text-color);
    margin-bottom: 20px;
    transition: color 0.3s ease-in-out;
}

/* FAQ Items */
.faq-item {
    margin-bottom: 8px;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--primary-color), #ff9900);
    color: #fff;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    overflow: hidden; /* Prevents content overlap */
}

/* Hover effect */
.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px var(--box-shadow);
}

/* FAQ Titles */
.faq-item h3 {
    padding: 12px 15px;
    font-size: 1.2rem;
    color: #fff;
    font-weight: bold;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Ensures text and chevron align properly */
}

/* Chevron Icon */
.faq-item h3::after {
    content: '⮟'; /* Unicode for downward chevron */
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

/* Rotate chevron when active */
.faq-item.active h3::after {
    transform: rotate(180deg);
}

/* FAQ Answers - Fixed */
.faq-answer {
    display: none; /* ✅ Ensures it is hidden at page load */
    padding: 0 15px;
    color: var(--text-color);
    font-size: 1rem;
    background: var(--faq-answer-bg);
    border-top: 1px solid var(--border-color);
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.3s ease-out, background-color 0.3s ease-in-out;
}

/* Expand answers when active */
.faq-item.active .faq-answer {
    display: block; /* ✅ Ensures it only appears when clicked */
    padding: 15px;
}

/* Responsive Design Fix */
@media (max-width: 768px) {
    .faq-container {
        max-width: 100%; /* Adjusts for small screens */
        margin: 10px auto;
        padding: 10px;
    }

    .faq-item h3 {
        font-size: 1rem; /* Adjust font size for smaller screens */
        padding: 10px;
        text-align: left; /* ✅ Left-align text */
    }

    .faq-answer {
        font-size: 0.9rem;
        padding: 10px 15px;
    }

    /* Adjust chevron size for mobile */
    .faq-item h3::after {
        font-size: 1rem;
    }
}
/* End of FAQ Container */

/* Footer Styles */
.footer-section {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 40px 0px;
    text-align: center;
    width: 100%;
    position: relative;
    bottom: 0;
    margin: 0;
    min-height: 200px; /* Ensure footer fills space */
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.footer-section ::selection {
    background-color: var(--primary-color);
    color: var(--button-text);
}

/* Footer Container */
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Prevent content overflow */
    display: grid;
    gap: 15px;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
        "contact newsletter"
        "social policies"
        "credit credit";
}

/* Footer Sections */
.footer-contact {
    grid-area: contact;
    font-size: 14px;
}

.footer-newsletter {
    grid-area: newsletter;
    font-size: 14px;
}

.footer-social {
    grid-area: social;
    font-size: 14px;
}

.footer-policies {
    grid-area: policies;
    font-size: 14px;
    text-align: center;
}

.footer-credit {
    grid-area: credit;
    font-size: 12px;
    color: var(--footer-text);
}

/* Contact Links Styling */
.contact-link {
    color: var(--primary-color); /* Brand Yellow */
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.contact-link:hover {
    color: var(--footer-hover-text);
    text-decoration: underline;
}

/* Footer Contact */
.footer-contact h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--footer-text);
}

.footer-contact p {
    margin: 5px 0;
    text-align: left;
}

.footer-contact a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s, text-decoration 0.3s;
}

.footer-contact a:hover {
    color: var(--footer-hover-text);
    text-decoration: underline;
}

/* Ensure Address Wraps Neatly */
#contact-address {
    display: inline-block;
    max-width: 30ch;
    word-wrap: break-word;
    white-space: normal;
}

/* Newsletter Section Styling */
.footer-newsletter h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.footer-newsletter p {
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--footer-text);
}

/* Newsletter Form */
#newsletter-form {
    display: flex;
    justify-content: center;
    align-items: center;
}

#newsletter-email {
    font-family: 'Montserrat', sans-serif;
    padding: 10px;
    font-size: 14px;
    border: none;
    border-radius: 5px 0 0 5px;
    width: 70%;
    max-width: 300px;
    margin-right: 5px;
}

#newsletter-form button {
    font-family: 'Montserrat', sans-serif;
    padding: 10px 20px;
    font-size: 14px;
    border: none;
    background-color: var(--primary-color);
    color: var(--button-text);
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

#newsletter-form button:hover {
    background-color: var(--footer-hover-button);
    color: var(--button-text-hover);
}

/* Social Media Links */
.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 25px;
    margin: 10px 0;
}

.footer-social a {
    color: var(--primary-color);
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--footer-hover-text);
}

/* Policies and Credit Styling */
.footer-policies {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
}

.footer-policies a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-policies a:hover {
    color: var(--footer-hover-text);
}

/* Footer Credit */
.footer-credit {
    grid-column: span 2;
    font-size: 12px;
    color: var(--footer-text);
    margin-top: 5px;
    text-align: center;
}

.footer-credit .copyright {
    font-size: 14px;
    margin-bottom: 15px;
    color: var(--footer-text);
}

.footer-credit .credit {
    font-size: 12px;
    color: var(--footer-text);
}

.footer-credit a {
    color: var(--primary-color);
    text-decoration: none;
}

.footer-credit a:hover {
    color: var(--footer-hover-text);
}

/* Responsive Design for Footer */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        grid-template-areas:
            "contact"
            "newsletter"
            "social"
            "policies"
            "credit";
        gap: 10px;
        margin-bottom: -10px;
    }

    .footer-contact,
    .footer-newsletter,
    .footer-social,
    .footer-policies,
    .footer-credit {
        margin-bottom: 5px;
    }
}
/* End Of Footer Styles */

/* Global Styles for Error Pages */
.error-page {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--error-bg);
    color: var(--error-text);
    text-align: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
    overflow: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}

/* Logo Styling */
.logo-container {
    margin-bottom: 20px;
}

.error-logo {
    width: 100px;
    height: auto;
}

/* Error Code Animation */
.glitch {
    font-size: 6rem;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    color: var(--primary-color);
    text-shadow: 2px 2px 10px var(--glitch-shadow);
    animation: glitch-animation 1s infinite alternate;
    transition: text-shadow 0.5s ease;
}

@keyframes glitch-animation {
    0% {
        text-shadow: 2px 2px 10px var(--glitch-shadow);
    }

    100% {
        text-shadow: -2px -2px 10px var(--glitch-shadow);
    }
}

/* Error Message Styling */
.error-message-page {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 15px auto;
    line-height: 1.6;
    transition: color 0.5s ease;
}

/* Highlighted Text */
.error-message-page .highlight {
    color: var(--primary-color);
    font-weight: bold;
}

/* Ensuring Links are Visible */
.error-message-page a {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.error-message-page a:hover {
    color: var(--error-link-hover);
    text-decoration: underline;
}

/* Error Page Buttons */
.error-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Button Styling */
.error-btn {
    background-color: var(--primary-color);
    color: var(--button-text);
    padding: 12px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease-in-out;
    min-width: 160px;
    text-align: center;
    display: inline-block;
}

/* Button Hover Effect */
.error-btn:hover {
    background-color: var(--accent-color);
    color: var(--teritary-color);
    transform: scale(1.05);
}

/* Subtle Background Animation */
.error-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--error-bg-animation);
    animation: animate-bg 6s infinite alternate ease-in-out;
}

@keyframes animate-bg {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 100% 100%;
    }
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .glitch {
        font-size: 5rem;
    }

    .error-message {
        font-size: 1.1rem;
    }
}

/* For mobile devices */
@media (max-width: 768px) {
    .glitch {
        font-size: 4rem;
    }

    .error-message {
        font-size: 1rem;
        max-width: 90%;
    }

    .error-links {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        align-items: center;
    }

    .error-btn {
        width: 80%;
        text-align: center;
    }
}

/* For very small screens */
@media (max-width: 480px) {
    .glitch {
        font-size: 3rem;
    }

    .error-message {
        font-size: 0.95rem;
    }

    .error-btn {
        padding: 12px;
        font-size: 0.9rem;
        width: 90%;
    }
}
/* End of Global Styles for Error Pages */

/* Center the Domain Checker */
.domain-checker-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

/* Keep Original Domain Checker Layout */
.domain-checker {
    max-width: 500px;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--card-bg);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px var(--box-shadow);
    transition: background-color 0.5s ease, box-shadow 0.5s ease;
}

/* Domain Search Box */
.domain-search {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

/* Input Field */
.domain-search input {
    padding: 12px;
    flex: 1;
    max-width: 65%;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    outline: none;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: border-color 0.3s ease-in-out, background-color 0.3s ease, color 0.3s ease;
    text-align: center;
}

/* Input Focus */
.domain-search input:focus {
    border-color: var(--highlight-dark);
}

/* Buttons */
.domain-search button,
#purchaseDomainBtn {
    padding: 12px 18px;
    background-color: var(--primary-color);
    border: none;
    color: var(--button-text);
    font-weight: bold;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    white-space: nowrap;
}

/* Button Hover */
.domain-search button:hover,
#purchaseDomainBtn:hover {
    background-color: var(--button-hover-bg);
    transform: scale(1.05);
    color: var(--button-hover-text);
}

/* ✅ Dark Mode Button Styling */
.dark-mode .domain-search button,
.dark-mode #purchaseDomainBtn {
    background-color: var(--button-bg);
    color: var(--button-text);
}

/* Dark Mode Hover Effect */
.dark-mode .domain-search button:hover,
.dark-mode #purchaseDomainBtn:hover {
    background-color: var(--accent-color);
    color: var(--button-hover-text);
}

/* Domain Result Message */
#domainResult {
    margin-top: 15px;
    font-weight: bold;
    font-size: 1rem;
    color: var(--primary-color);
    font-family: 'Montserrat', sans-serif;
}

/* Hide Elements Initially */
.hidden {
    display: none;
}

/* ✅ Fix for Mobile Centering & Layout */
@media (max-width: 768px) {
    .domain-checker-wrapper {
        padding: 20px;
        text-align: center;
    }

    .domain-checker {
        width: 100%;
        max-width: 400px;
    }

    .domain-search {
        flex-direction: column;
        gap: 12px;
        align-items: center;
        width: 100%;
    }

    .domain-search input {
        width: 100%;
        max-width: 100%;
    }

    .domain-search button,
    #purchaseDomainBtn {
        width: 100%;
        padding: 12px;
    }
}

/* SUBSCRIPTION PAGE STYLING */
.subscription-page {
    background-color: var(--bg-color);
    color: var(--text-color);
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.5s ease, color 0.5s ease;
}

.subscription-container {
    max-width: 600px;
    padding: 40px;
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0px 0px 15px var(--box-shadow);
    text-align: center;
    transition: background-color 0.5s ease, box-shadow 0.5s ease;
}

.subscription-logo {
    max-width: 120px;
    margin-bottom: 20px;
}

.subscription-message h2 {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px var(--box-shadow-hover);
    transition: text-shadow 0.5s ease;
}

.subscription-message p {
    font-size: 1rem;
    margin-bottom: 20px;
}

.subscription-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.subscription-btn {
    text-decoration: none;
    background-color: var(--primary-color);
    color: var(--button-text);
    padding: 12px 20px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.subscription-btn:hover {
    background-color: var(--button-hover-bg);
    color: var(--button-hover-text);
}

/* Hero Giveaway Button - Light & Dark Mode Aware */
#hero-giveaway-link button {
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    background-color: transparent;
    color: #000;
    font-family: 'Montserrat', sans-serif;
    border-radius: 5px;
    transition: all 0.3s ease;
    height: 100%;
    min-width: 160px;
    box-sizing: border-box;
}

/* Hover effect in light mode */
#hero-giveaway-link button:hover {
    background-color: #000;
    color: #fff;
}

/* Dark mode default state */
.dark-mode #hero-giveaway-link button {
    color: #fff;
    background-color: transparent;
    border: none;
}

/* Hover effect in dark mode */
.dark-mode #hero-giveaway-link button:hover {
    background-color: #fff;
    color: #000;
}
