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

:root {
    /* Light mode (default) */
    --primary-blue: #1727A0;
    --secondary-blue: #131f80;
    --accent-orange: #FE9C00;
    --light-gray: #f8f9fa;
    --dark-text: #333;
    --white: #ffffff;
    --background: #ffffff;
    --card-bg: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --header-bg: rgba(255, 255, 255, 0.9);
    --border-color: #eee;
    
    /* Timeline colors - Light Mode */
    --planning-color: #5272E4;
    --design-color: #6384f9;
    --development-color: #7086d1;
    --testing-color: #8292e6;
    --deployment-color: #9ba7eb;

    /* Transitions */
    --transition-speed: 0.3s;
}

[data-theme="dark"] {
    --primary-blue: #4a6bff;
    --secondary-blue: #3a59e0;
    --accent-orange: #FF9E2C;
    --light-gray: #1e1e2e;
    --dark-text: #e4e4e4;
    --white: #121212;
    --background: #121212;
    --card-bg: #1e1e2e;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --header-bg: rgba(30, 30, 46, 0.9);
    --border-color: #333;
    
    /* Timeline colors - Dark Mode */
    --planning-color: #5e62ff;
    --design-color: #7a59ff;
    --development-color: #a84cff;
    --testing-color: #d24dff;
    --deployment-color: #ff4dda;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--background);
    transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

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

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

ul {
    list-style: none;
}

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

.btn:hover {
    background: var(--accent-orange);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

h1, h2, h3 {
    font-weight: 600;
    line-height: 1.3;
}

section {
    padding: 80px 0;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-blue);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--accent-orange);
}

/* Header */
header {
    background: var(--header-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px var(--shadow-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

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

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

.logo .wifi-icon {
    display: inline-block;
    margin-right: 12px;
    transform: rotate(90deg);
    color: var(--primary-blue);
    font-size: 2.4rem;
    transition: color var(--transition-speed) ease;
}

.logo h1 {
    font-size: 2rem;
    color: var(--primary-blue);
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: color var(--transition-speed) ease;
}

nav ul {
    display: flex;
}

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

/* Mobile hamburger menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 120;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 5px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active span:first-child {
    transform: translateY(11px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:last-child {
    transform: translateY(-11px) rotate(-45deg);
}

.accent-text {
    color: var(--accent-orange);
    transition: color var(--transition-speed) ease;
}

nav ul li a,
nav ul li button {
    font-weight: 500;
    transition: all var(--transition-speed) ease;
    font-size: 1.05rem;
    padding: 3px 0;
    color: var(--dark-text);
}

nav ul li a:hover,
nav ul li button:hover {
    color: var(--accent-orange);
}

#theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    padding: 5px;
    border-radius: 50%;
    position: relative;
    width: 36px;
    height: 36px;
    transition: background-color 0.3s ease;
}

#theme-toggle:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] #theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.dark-icon,
.light-icon {
    position: absolute;
    transition: opacity 0.3s ease, transform 0.5s ease;
}

.dark-icon {
    opacity: 1;
    transform: rotate(0);
}

.light-icon {
    opacity: 0;
    transform: rotate(90deg);
}

[data-theme="dark"] .dark-icon {
    opacity: 0;
    transform: rotate(-90deg);
}

[data-theme="dark"] .light-icon {
    opacity: 1;
    transform: rotate(0);
}

/* Theme transition */
.theme-transition,
.theme-transition * {
    transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease !important;
}

/* Header scrolled state */
header.scrolled {
    background: var(--header-bg);
    box-shadow: 0 2px 10px var(--shadow-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(23, 39, 160, 0.9), rgba(23, 39, 160, 0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(23, 39, 160, 0.2) 0%, rgba(254, 156, 0, 0.2) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

[data-theme="dark"] .hero::before {
    opacity: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

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

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.hero-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.hero-badge {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
}

/* Services Section */
.services {
    background: white;
    text-align: center;
}

/* Section heading styles moved to common section styles */

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

/* Service card filter options */
.service-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.service-filter {
    background: var(--light-gray);
    color: var(--dark-text);
    border: none;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-filter.active {
    background-color: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.service-filter:hover:not(.active) {
    background-color: rgba(23, 39, 160, 0.1);
    transform: translateY(-2px);
}

.service-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: all var(--transition-speed) ease, transform 0.4s ease;
    border-top: 3px solid var(--primary-blue);
    position: relative;
    overflow: hidden;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow-color);
    border-top: 3px solid var(--accent-orange);
}

/* New service card content structure */
.service-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    transition: all 0.5s ease;
    display: inline-block;
}

.service-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-features {
    margin-top: auto;
    padding-top: 15px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 107, 255, 0.05) 0%, rgba(255, 158, 44, 0.05) 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
}

.service-card:hover::before {
    opacity: 1;
}

.card-hover-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
    z-index: 2;
}

.service-card:hover .card-hover-effect {
    transform: scaleX(1);
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    transition: all 0.5s ease;
}

.service-card:hover i {
    color: var(--accent-orange);
    transform: rotate(360deg) scale(1.1);
}

.service-card h3 {
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--primary-blue);
}

.section-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.15rem;
    color: var(--dark-text);
    opacity: 0.9;
}

.service-features {
    list-style: none;
    padding: 0 20px;
    margin-bottom: 20px;
    text-align: left;
}

.service-features li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--dark-text);
    opacity: 0.8;
}

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

.service-link {
    display: inline-block;
    color: var(--primary-blue);
    font-weight: 500;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.service-link:hover {
    color: var(--accent-orange);
    transform: translateX(3px);
}

/* About Section */
.about {
    background-color: var(--light-gray);
    transition: background-color var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* About heading styles moved to common section styles */

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Animation elements */
.about-animations {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.animation-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Removed animations */
.service-card {
    opacity: 1;
    transform: none;
}

@keyframes ripple {
    0% { transform: scale(0.8); opacity: 0.2; }
    50% { transform: scale(1.2); opacity: 0.1; }
    100% { transform: scale(0.8); opacity: 0.2; }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.1; }
    50% { transform: scale(1.3); opacity: 0.15; }
    100% { transform: scale(1); opacity: 0.1; }
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
    100% { transform: translateY(0px) rotate(360deg); }
}

/* Case Studies Section */
.case-studies {
    background: var(--light-gray);
    text-align: center;
}

.case-studies-intro {
    max-width: 800px;
    margin: 0 auto 40px;
}

.case-studies-intro p {
    font-size: 1.2rem;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.case-study-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.case-study-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-study-card:hover .case-study-image img {
    transform: scale(1.05);
}

.case-study-category {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--primary-blue);
    color: white;
    padding: 5px 15px;
    font-size: 0.9rem;
    font-weight: 500;
    border-top-left-radius: 6px;
}

.case-study-content {
    padding: 25px;
    text-align: left;
}

.case-study-content h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--primary-blue);
}

.case-study-content p {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
}

.case-study-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 10px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-orange);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--dark-text);
    font-weight: 500;
}

.case-study-btn {
    width: 100%;
    text-align: center;
    background-color: var(--primary-blue);
}

.case-study-btn:hover {
    background-color: var(--accent-orange);
}

/* Resources Section */
.resources {
    background: white;
    text-align: center;
}

.resources-intro {
    max-width: 800px;
    margin: 0 auto 40px;
}

.resources-intro p {
    font-size: 1.2rem;
}

.resources-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.tab-button {
    background: none;
    border: none;
    padding: 12px 24px;
    margin: 0 5px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--dark-text);
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.tab-button:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-blue);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.tab-button.active {
    color: var(--primary-blue);
}

.tab-button.active:after {
    transform: scaleX(1);
}

.resources-content {
    margin-bottom: 50px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.resource-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px var(--shadow-color);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.resource-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.resource-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.resource-date {
    color: #777;
}

.resource-category {
    color: var(--primary-blue);
    font-weight: 500;
}

.resource-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--dark-text);
    line-height: 1.4;
}

.resource-card p {
    color: var(--dark-text);
    margin-bottom: 20px;
    flex-grow: 1;
}

.resource-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.resource-author, .resource-details {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.resource-author i, .resource-details i {
    margin-right: 8px;
    color: var(--primary-blue);
}

.resource-link {
    color: var(--primary-blue);
    font-weight: 500;
    transition: color 0.3s ease;
}

.resource-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.resource-link:hover {
    color: var(--accent-orange);
}

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

.resources-cta {
    text-align: center;
    margin-top: 20px;
}

/* Featured resource styling */
.featured-resource {
    background: linear-gradient(135deg, rgba(23, 39, 160, 0.05) 0%, rgba(255, 158, 44, 0.05) 100%);
    border: 1px solid var(--border-color);
}

.resource-badge {
    background: var(--accent-orange);
    color: white;
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.resource-badge i {
    margin-right: 5px;
}

.resource-download {
    margin-top: 20px;
}

.download-btn {
    width: 100%;
    text-align: center;
    background-color: var(--primary-blue);
}

.download-btn i {
    margin-right: 8px;
}

/* Webinar card styling */
.webinar-grid {
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
}

.webinar-card {
    padding: 0;
    overflow: hidden;
}

.webinar-thumbnail {
    position: relative;
    height: 200px;
}

.webinar-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.webinar-duration {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
}

.webinar-duration i {
    margin-right: 5px;
}

.webinar-card .resource-meta, .webinar-card h3, .webinar-card p {
    padding: 0 25px;
}

.webinar-card .resource-meta {
    margin-top: 20px;
}

.webinar-btn {
    margin: 20px 25px 25px;
    display: inline-block;
    background-color: var(--primary-blue);
}

/* Newsletter section */
.resources-newsletter {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    border-radius: 10px;
    padding: 50px;
    margin-top: 60px;
    color: white;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.newsletter-content p {
    margin-bottom: 25px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
}

.newsletter-form .btn {
    background-color: var(--accent-orange);
    white-space: nowrap;
}

.newsletter-form .btn:hover {
    background-color: #e68e00;
    transform: translateY(-3px);
}

/* Project Timeline Calculator Section */
.portfolio {
    background: var(--light-gray);
    text-align: center;
}

.calculator-wrapper {
    max-width: 850px;
    margin: 0 auto;
}

.calculator-intro {
    text-align: center;
    margin-bottom: 30px;
}

.calculator-intro p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

/* Wizard Styles */
.calculator-wizard {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 5px 25px var(--shadow-color);
    overflow: hidden;
    margin-top: 40px;
    transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

/* Wizard Progress Bar */
.wizard-progress {
    padding: 25px 30px 15px;
    border-bottom: 1px solid var(--border-color);
}

.progress-bar {
    height: 6px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    position: relative;
    margin-bottom: 20px;
}

[data-theme="dark"] .progress-bar {
    background-color: rgba(255, 255, 255, 0.1);
}

.progress-indicator {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 25%;  /* Will be updated by JS */
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-orange));
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 25%;
    position: relative;
    transition: color 0.3s ease;
    opacity: 0.6;
}

.progress-step.active {
    opacity: 1;
}

.progress-step.completed {
    opacity: 0.85;
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 8px;
    transition: background-color 0.3s ease;
}

.progress-step.completed .step-number {
    background-color: var(--accent-orange);
}

.step-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-text);
}

/* Wizard Steps Container */
.wizard-steps {
    position: relative;
    min-height: 400px;
}

.wizard-step {
    padding: 30px;
    display: none;
}

.wizard-step.active {
    display: block;
}

.wizard-step h3 {
    color: var(--primary-blue);
    font-size: 1.6rem;
    margin-bottom: 10px;
    text-align: left;
}

.step-description {
    margin-bottom: 30px;
    color: var(--dark-text);
    opacity: 0.8;
}

.step-content {
    margin-bottom: 40px;
}

/* Platform selector */
.platform-selector {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.platform-option {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.platform-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.platform-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 20px;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}

.platform-option label i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-blue);
    transition: color 0.3s ease;
}

.platform-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark-text);
}

.platform-description {
    font-size: 0.9rem;
    color: var(--dark-text);
    opacity: 0.7;
}

.platform-option input[type="radio"]:checked + label {
    border-color: var(--primary-blue);
    background: rgba(23, 39, 160, 0.05);
}

.platform-option input[type="radio"]:checked + label i {
    color: var(--accent-orange);
}

/* Seats Selector */
.seats-selector {
    padding: 25px;
    background-color: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
    margin-bottom: 20px;
}

[data-theme="dark"] .seats-selector {
    background-color: rgba(255, 255, 255, 0.05);
}

.seats-selector label {
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
    font-size: 1.1rem;
}

/* Range input styling */
.range-with-value {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
}

.range-with-value input[type="range"] {
    flex: 1;
    -webkit-appearance: none;
    height: 8px;
    background: #ddd;
    border-radius: 5px;
    outline: none;
}

.range-with-value input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: var(--primary-blue);
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.range-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.range-value {
    background: var(--primary-blue);
    color: white;
    padding: 5px 15px;
    border-radius: 4px;
    min-width: 40px;
    text-align: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.range-context {
    font-size: 0.85rem;
    color: var(--dark-text);
    opacity: 0.7;
    margin-top: 5px;
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--dark-text);
    opacity: 0.7;
}

/* Channels Grid */
.channels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.channel-option {
    position: relative;
}

.channel-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.channel-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    margin: 0;
    height: 100%;
}

.channel-option label i {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: var(--primary-blue);
    transition: color 0.3s ease;
}

.channel-info {
    font-size: 0.8rem;
    color: var(--dark-text);
    opacity: 0.7;
    margin-top: 5px;
    text-align: center;
}

.channel-option input[type="checkbox"]:checked + label {
    background: rgba(23, 39, 160, 0.1);
    border-color: var(--primary-blue);
}

.channel-option input[type="checkbox"]:checked + label i {
    color: var(--accent-orange);
}

.channels-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
}

[data-theme="dark"] .channels-summary {
    background: rgba(255, 255, 255, 0.05);
}

.channels-count {
    font-weight: 500;
}

.channels-complexity {
    display: flex;
    align-items: center;
    gap: 10px;
}

.complexity-indicator {
    width: 120px;
    height: 8px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.complexity-level {
    height: 100%;
    width: 20%;
    background: linear-gradient(90deg, #2ecc71, #f39c12, #e74c3c);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Integration Section */
.integration-count {
    margin-bottom: 30px;
    padding: 25px;
    background-color: rgba(0, 0, 0, 0.02);
    border-radius: 8px;
}

[data-theme="dark"] .integration-count {
    background-color: rgba(255, 255, 255, 0.05);
}

.integration-types {
    margin-top: 30px;
}

.integration-types h4 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: var(--dark-text);
}

.integration-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.integration-option {
    position: relative;
}

.integration-checkbox {
    position: absolute;
    opacity: 0;
}

.integration-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.integration-option label i {
    font-size: 1.2rem;
    color: var(--primary-blue);
}

.integration-option input[type="checkbox"]:checked + label {
    background: rgba(23, 39, 160, 0.1);
    border-color: var(--primary-blue);
}

.integration-note {
    font-size: 0.9rem;
    color: var(--dark-text);
    opacity: 0.7;
    margin-top: 20px;
    font-style: italic;
}

/* Step navigation buttons */
.wizard-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
}

.prev-step, .next-step {
    padding: 12px 25px;
}

.prev-step {
    background-color: var(--light-gray);
    color: var(--dark-text);
}

.prev-step:hover {
    background-color: #ddd;
}

.next-step {
    background-color: var(--primary-blue);
}

.wizard-buttons i {
    margin: 0 8px;
}

/* Results container styling */
.project-summary {
    background: rgba(0, 0, 0, 0.02);
    padding: 20px 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}

[data-theme="dark"] .project-summary {
    background: rgba(255, 255, 255, 0.05);
}

.project-summary h4 {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--dark-text);
}

.project-summary ul {
    list-style: none;
}

.project-summary li {
    margin-bottom: 8px;
    display: flex;
}

.project-summary li strong {
    min-width: 120px;
    color: var(--primary-blue);
}

.timeline-summary {
    text-align: center;
    padding: 25px;
    background-color: rgba(23, 39, 160, 0.05);
    border-radius: 8px;
    transition: background-color var(--transition-speed) ease;
    margin-bottom: 30px;
}

[data-theme="dark"] .timeline-summary {
    background-color: rgba(74, 107, 255, 0.1);
}

.total-duration {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 5px;
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.duration-unit {
    font-size: 1.5rem;
    margin-left: 8px;
    font-weight: 500;
}

.timeline-description {
    color: var(--dark-text);
    font-size: 1.1rem;
    margin-top: 5px;
}

/* Visualization Controls */
.visualization-controls {
    margin-bottom: 25px;
}

.view-toggle {
    display: flex;
    justify-content: center;
    padding: 5px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 30px;
    width: fit-content;
    margin: 0 auto;
}

[data-theme="dark"] .view-toggle {
    background-color: rgba(255, 255, 255, 0.1);
}

.view-btn {
    background: none;
    border: none;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--dark-text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-btn.active {
    background-color: var(--white);
    color: var(--primary-blue);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Timeline Views Container */
.timeline-views {
    position: relative;
    min-height: 250px;
    margin-bottom: 30px;
}

.timeline-view {
    display: none;
}

.timeline-view.active {
    display: block;
}

/* Bar Chart View (Default) */
.timeline-phases {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.timeline-phase {
    display: flex;
    align-items: center;
}

.phase-label {
    width: 120px;
    font-weight: 500;
    text-align: right;
    padding-right: 15px;
}

.phase-bar {
    flex: 1;
    height: 30px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    transition: background-color var(--transition-speed) ease;
}

[data-theme="dark"] .phase-bar {
    background-color: rgba(255, 255, 255, 0.05);
}

.phase-progress {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    transition: width 0.5s ease;
    position: relative;
}

/* Gantt Chart View */
.gantt-header {
    padding-left: 120px;
    margin-bottom: 15px;
}

.gantt-scale {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--dark-text);
    opacity: 0.7;
}

.gantt-chart {
    position: relative;
}

.gantt-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    height: 40px;
}

.gantt-label {
    width: 120px;
    font-weight: 500;
    text-align: right;
    padding-right: 15px;
}

.gantt-bar-container {
    flex: 1;
    height: 30px;
    position: relative;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 5px;
}

[data-theme="dark"] .gantt-bar-container {
    background-color: rgba(255, 255, 255, 0.05);
}

.gantt-bar {
    position: absolute;
    height: 100%;
    top: 0;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    transition: width 0.5s ease, left 0.5s ease;
}

.gantt-today-marker {
    position: absolute;
    top: 0;
    height: 100%;
    width: 2px;
    background-color: red;
    z-index: 5;
    display: none; /* Will be shown conditionally */
}

/* Pie Chart View */
.pie-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.pie-chart {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: conic-gradient(
        var(--planning-color) 0% 17%, 
        var(--design-color) 17% 42%, 
        var(--development-color) 42% 75%, 
        var(--testing-color) 75% 92%, 
        var(--deployment-color) 92% 100%
    );
    margin: 0 auto;
}

[data-theme="dark"] .pie-chart {
    opacity: 1;
    box-shadow: 0 0 25px rgba(74, 107, 255, 0.2);
}

.pie-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--card-bg);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
    transition: background-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

[data-theme="dark"] .pie-center {
    background-color: var(--card-bg);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3), inset 0 0 10px rgba(74, 107, 255, 0.1);
    border: 1px solid rgba(74, 107, 255, 0.2);
}

.pie-center span:first-child {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1;
}

.pie-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--dark-text);
    opacity: 0.7;
}

.pie-labels {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.pie-label-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.slice-label {
    position: absolute;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    padding: 4px 8px;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.4);
    white-space: nowrap;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

[data-theme="dark"] .slice-label {
    background-color: rgba(30, 30, 46, 0.7);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25), 0 0 4px rgba(74, 107, 255, 0.3);
}

.slice-label:hover {
    transform: scale(1.1);
}

.planning-label .slice-label {
    transform: rotate(var(--rotation)) translateX(70px) rotate(calc(-1 * var(--rotation)));
}

.design-label .slice-label {
    transform: rotate(var(--rotation)) translateX(80px) rotate(calc(-1 * var(--rotation)));
}

.development-label .slice-label {
    transform: rotate(var(--rotation)) translateX(80px) rotate(calc(-1 * var(--rotation)));
}

.testing-label .slice-label {
    transform: rotate(var(--rotation)) translateX(70px) rotate(calc(-1 * var(--rotation)));
}

.deployment-label .slice-label {
    transform: rotate(var(--rotation)) translateX(60px) rotate(calc(-1 * var(--rotation)));
}

.pie-legend {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 20px;
    width: 100%;
    max-width: 400px;
    margin-top: 10px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: background-color var(--transition-speed) ease;
}

[data-theme="dark"] .pie-legend {
    background-color: rgba(74, 107, 255, 0.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s ease;
}

.legend-item:hover {
    transform: translateX(5px);
}

.legend-color {
    width: 15px;
    height: 15px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

[data-theme="dark"] .legend-color {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2), 0 0 4px rgba(255, 255, 255, 0.1);
}

.legend-text {
    font-size: 0.9rem;
    color: var(--dark-text);
    font-weight: 500;
}

[data-theme="dark"] .legend-text {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Phase Colors */
.planning-bar, .planning-color, .planning-slice {
    background-color: var(--planning-color);
}

.design-bar, .design-color, .design-slice {
    background-color: var(--design-color);
}

.development-bar, .development-color, .development-slice {
    background-color: var(--development-color);
}

.testing-bar, .testing-color, .testing-slice {
    background-color: var(--testing-color);
}

.deployment-bar, .deployment-color, .deployment-slice {
    background-color: var(--deployment-color);
}

.wizard-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-btn {
    flex: 1;
    background-color: var(--accent-orange);
    text-align: center;
    font-weight: 500;
}

.timeline-note {
    font-size: 0.95rem;
    color: #777;
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

/* Calculate button animation */
#calculateBtn.calculating {
    animation: btn-pulse 0.3s ease;
}

@keyframes btn-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(0.98); background-color: var(--primary-blue); }
    100% { transform: scale(1); }
}

/* Contact Section */
.contact {
    background-color: var(--white);
    text-align: center;
}

/* Contact heading styles moved to common section styles */

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.contact-option {
    padding: 15px 25px;
    background-color: var(--light-gray);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-option.active {
    background-color: var(--primary-blue);
    color: white;
}

.contact-option:hover:not(.active) {
    background-color: rgba(23, 39, 160, 0.1);
}

.contact-tabs {
    position: relative;
    margin-top: 20px;
}

.contact-tab {
    display: none;
}

.contact-tab.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.calendly-wrapper {
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.contact-info, .contact-form {
    text-align: left;
}

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-info i {
    margin-right: 10px;
    color: var(--primary-blue);
}

.social-icons {
    margin-top: 20px;
}

.social-icons a {
    display: inline-block;
    margin-right: 15px;
    font-size: 1.5rem;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent-orange);
    transform: translateY(-5px);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 60px 0 30px;
    transition: background-color var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-orange), transparent);
    z-index: 1;
}

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

.footer-column h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-logo .wifi-icon {
    transform: rotate(90deg);
    color: var(--accent-orange);
    font-size: 1.8rem;
    margin-right: 10px;
}

.footer-logo h2 {
    font-size: 1.6rem;
    color: var(--white);
    font-weight: 600;
}

.footer-about p {
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

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

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

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a i {
    margin-right: 10px;
    color: var(--accent-orange);
    font-size: 0.8rem;
}

.footer-links a:hover {
    color: var(--accent-orange);
    transform: translateX(5px);
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.footer-contact i {
    margin-right: 15px;
    color: var(--accent-orange);
    width: 16px;
    text-align: center;
}

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

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

.footer-social a i {
    color: var(--white);
    font-size: 1.2rem;
}

.footer-social a:hover {
    background-color: var(--accent-orange);
    transform: translateY(-5px);
}

.footer-form h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-form p {
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.footer-form-input {
    display: flex;
    margin-bottom: 20px;
}

.footer-form-input input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 5px 0 0 5px;
    font-family: 'Poppins', sans-serif;
}

.footer-form-input button {
    background-color: var(--accent-orange);
    color: var(--white);
    border: none;
    padding: 0 20px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.footer-form-input button:hover {
    background-color: #e68c00;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.footer-bottom .accent {
    color: var(--accent-orange);
    font-weight: 600;
}

.footer-bottom a {
    color: var(--accent-orange);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--white);
    text-decoration: none;
}

@media (max-width: 768px) {
    footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .footer-column h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .footer-column {
        margin-bottom: 10px;
    }
}

/* Corner waves */
.corner-wave {
    position: absolute;
    width: 150px;
    height: 150px;
    z-index: 1;
    opacity: 0.7;
}

.wave-top-left {
    top: 0;
    left: 0;
    background: radial-gradient(circle at 0 0, transparent 70%, var(--accent-orange) 70%);
    transform: rotate(0deg);
}

.wave-top-right {
    top: 0;
    right: 0;
    background: radial-gradient(circle at 100% 0, transparent 70%, var(--primary-blue) 70%);
    transform: rotate(90deg);
}

.wave-bottom-left {
    bottom: 0;
    left: 0;
    background: radial-gradient(circle at 0 100%, transparent 70%, var(--primary-blue) 70%);
    transform: rotate(270deg);
}

.wave-bottom-right {
    bottom: 0;
    right: 0;
    background: radial-gradient(circle at 100% 100%, transparent 70%, var(--accent-orange) 70%);
    transform: rotate(180deg);
}

/* Geometric Shapes and Elements */
.section-with-shapes {
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 100px;
}

/* Services section shapes */
.geometric-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1;
    overflow: hidden;
}

.bottom-shapes {
    top: auto;
    bottom: 0;
}

.shape {
    position: absolute;
    opacity: 0.15;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 80px solid var(--primary-blue);
    top: 20px;
    left: 10%;
    transform: rotate(15deg);
}

.bottom-shapes .shape-triangle {
    border-bottom-color: var(--accent-orange);
    left: 75%;
    top: 10px;
    transform: rotate(-15deg);
}

.shape-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--accent-orange);
    left: 30%;
    top: 15px;
}

.bottom-shapes .shape-circle {
    background-color: var(--primary-blue);
    left: 40%;
    top: 20px;
}

.shape-square {
    width: 60px;
    height: 60px;
    background-color: var(--primary-blue);
    transform: rotate(45deg);
    right: 20%;
    top: 25px;
}

.bottom-shapes .shape-square {
    background-color: var(--accent-orange);
    right: 15%;
    top: 30px;
}

.shape-dots {
    right: 5%;
    top: 30px;
    width: 120px;
    height: 40px;
    background-image: radial-gradient(var(--accent-orange) 20%, transparent 20%);
    background-position: 0 0;
    background-size: 20px 20px;
}

/* About section geometric elements */
.geometric-accent {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
}

.accent-line {
    height: 3px;
    flex: 1;
    background-color: var(--primary-blue);
    opacity: 0.1;
}

.accent-circle {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--accent-orange);
    margin: 0 30px;
}

.geometric-grid {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 180px;
    height: 120px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
    padding: 15px;
    z-index: 1;
}

.grid-item {
    border: 2px solid var(--primary-blue);
    opacity: 0.1;
}

.grid-item:nth-child(odd) {
    border-color: var(--accent-orange);
}

/* Contact section geometric elements */
.diagonal-divider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: var(--white);
    transform: skewY(-2deg);
    transform-origin: top left;
}

.shape-pattern {
    position: absolute;
    bottom: 40px;
    right: 40px;
    width: 120px;
    height: 120px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 12px;
    opacity: 0.2;
    z-index: 1;
}

.shape-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-blue);
}

.shape-dot:nth-child(odd) {
    background-color: var(--accent-orange);
}

/* Responsive Design */
@media (max-width: 992px) {
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Adjust section spacing */
    section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    /* Header and navigation */
    header .container {
        flex-direction: row;
        position: relative;
    }
    
    .logo h1 {
        font-size: 1.6rem;
    }
    
    .logo .wifi-icon {
        font-size: 2rem;
    }
    
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Mobile navigation */
    nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--card-bg);
        box-shadow: 0 5px 15px var(--shadow-color);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
        z-index: 99;
    }
    
    nav.active {
        max-height: 400px;
        overflow-y: auto;
    }
    
    nav ul {
        flex-direction: column;
        padding: 0;
        margin: 0;
    }
    
    nav ul li {
        margin: 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    nav ul li a,
    nav ul li button {
        display: block;
        padding: 15px 20px;
        width: 100%;
        text-align: left;
    }
    
    nav ul li:last-child {
        border-bottom: none;
        display: flex;
        justify-content: center;
        padding: 15px 0;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .service-filters {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 10px;
    }
    
    .service-filter {
        flex: 0 0 auto;
        white-space: nowrap;
    }
    
    .corner-wave {
        width: 100px;
        height: 100px;
    }
    
    .input-row {
        grid-template-columns: 1fr;
    }
    
    .channels-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timeline-phase {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .phase-label {
        width: 100%;
        text-align: left;
        padding-right: 0;
    }
    
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
    
    .case-study-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat {
        width: 100%;
    }
    
    .resources-tabs {
        flex-wrap: wrap;
    }
    
    .tab-button {
        flex: 1;
        min-width: 120px;
        font-size: 1rem;
        padding: 10px;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .webinar-grid {
        grid-template-columns: 1fr;
    }
    
    .resources-newsletter {
        padding: 30px 20px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form .btn {
        width: 100%;
    }
    
    /* Wizard responsive styles */
    .wizard-progress {
        padding: 20px 15px 10px;
    }
    
    .step-label {
        font-size: 0.8rem;
    }
    
    .progress-step {
        padding: 0 5px;
    }
    
    .wizard-step {
        padding: 20px 15px;
    }
    
    .wizard-step h3 {
        font-size: 1.4rem;
    }
    
    .platform-selector {
        flex-direction: column;
    }
    
    .platform-option {
        width: 100%;
    }
    
    .seats-selector {
        padding: 15px;
    }
    
    .integration-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .wizard-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .wizard-buttons button {
        width: 100%;
    }
    
    .range-with-value {
        flex-wrap: wrap;
    }
    
    .range-info {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        margin-top: 10px;
    }
    
    .wizard-actions {
        flex-direction: column;
    }
    
    /* Visualization responsive styles */
    .view-toggle {
        width: 100%;
    }
    
    .view-btn {
        font-size: 0.8rem;
        padding: 6px 10px;
    }
    
    .gantt-label, .phase-label {
        width: 90px;
        font-size: 0.9rem;
    }
    
    .pie-chart {
        width: 180px;
        height: 180px;
    }
    
    .pie-center {
        width: 90px;
        height: 90px;
    }
    
    .pie-legend {
        grid-template-columns: 1fr;
    }
    
    .gantt-scale div {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    /* Adjust section spacing */
    section {
        padding: 40px 0;
    }
    
    /* Internal section spacing */
    .case-studies, 
    .resources, 
    .portfolio {
        padding-top: 30px;
    }
    
    /* Top level resources tabs */
    .resources-tabs {
        gap: 5px;
    }
    
    .resource-tab {
        width: calc(33.33% - 4px);
        padding: 8px 5px;
    }
    
    /* Channel grid and integration options */
    .channels-grid,
    .integration-options {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    /* Project calculator - Step labels */
    .progress-step .step-number {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }
    
    .progress-step .step-label {
        font-size: 0.7rem;
    }
    
    /* Project calculator - Timeline views */
    .view-btn {
        padding: 6px 8px;
        font-size: 0.8rem;
    }
    
    .total-duration {
        font-size: 2.8rem;
    }
    
    .duration-unit {
        font-size: 1.2rem;
    }
    
    /* Form field improvements */
    .form-group input, 
    .form-group textarea {
        padding: 15px;
        font-size: 16px; /* Prevents iOS zoom on focus */
    }
    
    .wizard-step {
        padding: 20px 15px;
    }
    
    .seats-selector,
    .integration-count {
        padding: 15px;
    }
    
    /* Results spacing */
    .timeline-summary {
        padding: 15px;
    }
    
    .project-summary {
        padding: 15px;
    }
    
    .project-summary li {
        flex-direction: column;
        margin-bottom: 15px;
    }
    
    .project-summary li strong {
        margin-bottom: 5px;
        display: block;
    }
    
    /* Pie chart view */
    .pie-chart {
        width: 160px;
        height: 160px;
    }
    
    .pie-center {
        width: 80px;
        height: 80px;
    }
    
    .pie-center span:first-child {
        font-size: 1.8rem;
    }
    
    .pie-label {
        font-size: 0.8rem;
    }
    
    .slice-label {
        font-size: 0.7rem;
        padding: 3px 6px;
    }
    
    .legend-item {
        font-size: 0.8rem;
    }
    
    /* Timeline phase labels */
    .phase-label, .gantt-label {
        width: 80px;
        font-size: 0.8rem;
    }
}

/* Page header for inner pages */
.page-header {
    background: linear-gradient(rgba(23, 39, 160, 0.9), rgba(23, 39, 160, 0.7)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 0 60px;
    text-align: center;
    color: var(--white);
    margin-top: 70px;
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

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

/* Resources Navigation */
.resources-navigation {
    background-color: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}

.resources-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.resource-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: var(--light-gray);
}

.resource-tab i {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--primary-blue);
}

.resource-tab span {
    font-weight: 500;
}

.resource-tab:hover, .resource-tab.active {
    background-color: rgba(23, 39, 160, 0.1);
    transform: translateY(-5px);
}

/* Resources CTA Section on Home Page */
.resources-cta-section {
    background-color: var(--light-gray);
    padding: 80px 0;
    text-align: center;
}

.resources-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.resources-cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.resources-cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.resources-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.resources-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: var(--white);
    color: var(--dark-text);
    border: 2px solid var(--primary-blue);
    padding: 15px 25px;
    font-weight: 500;
}

.resources-btn i {
    font-size: 1.2rem;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.resources-btn:hover {
    background-color: var(--primary-blue);
    color: var(--white);
    transform: translateY(-5px);
}

.resources-btn:hover i {
    color: var(--white);
}

/* Dropdown menu for resources page */
.resources-dropdown {
    position: relative;
}

.resources-dropdown a.active {
    color: var(--accent-orange);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    box-shadow: 0 5px 15px var(--shadow-color);
    border-radius: 8px;
    width: 200px;
    z-index: 100;
    padding: 10px 0;
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.resources-dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.95rem;
    transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: rgba(23, 39, 160, 0.05);
}

[data-theme="dark"] .dropdown-menu {
    background-color: var(--card-bg);
}

/* Loading indicator animation */
.contact-btn.loading {
    position: relative;
    background-color: var(--primary-blue);
    pointer-events: none;
}

.contact-btn.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    right: 15px;
    top: calc(50% - 10px);
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive adjustments for resources page */
@media (max-width: 768px) {
    /* Resources page header */
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    /* Resources navigation tabs */
    .resources-navigation {
        padding: 15px 0;
        position: sticky;
        top: 70px;
        z-index: 90;
        box-shadow: 0 2px 10px var(--shadow-color);
        background-color: var(--white);
    }
    
    .resources-tabs {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .resource-tab {
        padding: 12px 5px;
        width: calc(33.33% - 7px);
        min-width: 0;
        font-size: 0.85rem;
        min-height: 80px; /* Ensure enough touch area */
        display: flex;
        flex-direction: column;
        justify-content: center;
        transition: all 0.3s ease, background-color 0.2s ease;
    }
    
    .resource-tab:active {
        transform: scale(0.95);
        background-color: rgba(23, 39, 160, 0.15);
    }
    
    [data-theme="dark"] .resource-tab:active {
        background-color: rgba(74, 107, 255, 0.25);
    }
    
    [data-theme="dark"] .resources-navigation {
        background-color: var(--card-bg);
    }
    
    .resource-tab i {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }
    
    .resource-tab span {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
        font-size: 0.8rem;
    }
    
    /* Active tab indicator */
    .resource-tab.active::after {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: 8px;
        height: 8px;
        background-color: var(--primary-blue);
        border-radius: 50%;
    }
    
    /* Resources content tabs */
    .tab-button {
        padding: 12px 10px;
        font-size: 0.9rem;
        flex: 1;
        min-width: 0;
        white-space: nowrap;
        min-height: 50px; /* Improve touch area */
        transition: all 0.2s ease;
    }
    
    .tab-button:active {
        transform: scale(0.95);
    }
    
    /* Case study improvements */
    .case-study-content h3 {
        font-size: 1.2rem;
        line-height: 1.4;
    }
    
    .case-study-content p {
        font-size: 0.95rem;
    }
    
    .case-study-btn {
        padding: 14px 20px;
        font-size: 1rem;
    }
    
    /* Card and grid layouts */
    .resources-grid, 
    .case-studies-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .case-study-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .stat {
        width: calc(50% - 10px);
        padding: 10px 5px;
        margin-bottom: 10px;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    /* Newsletter form */
    .resources-newsletter {
        padding: 25px 15px;
        margin-top: 40px;
    }
    
    .newsletter-content h3 {
        font-size: 1.5rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 15px;
    }
    
    .newsletter-form input,
    .newsletter-form .btn {
        width: 100%;
        padding: 12px 15px;
    }
    
    /* Button adjustments */
    .resources-btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Dropdown menu */
    .dropdown-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: auto;
        display: none;
        box-shadow: 0 5px 15px var(--shadow-color);
        background-color: var(--card-bg);
        padding: 10px 0;
        margin-top: 0;
        z-index: 95;
        border-radius: 0;
        transform: translateY(0);
    }
    
    .resources-dropdown:hover .dropdown-menu {
        display: none;
    }
    
    .resources-dropdown.open .dropdown-menu {
        display: block;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .dropdown-menu a {
        padding: 12px 20px;
        border-bottom: 1px solid var(--border-color);
        font-size: 1rem;
    }
    
    .dropdown-menu a:last-child {
        border-bottom: none;
    }
}
/* Genesys Implementation Calculator Styles */
.genesys-calculator-wrapper {
    margin: 30px 0;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--light-gray);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

#genesys-calculator-container {
    position: relative;
    min-height: 400px;
}

.loading-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    color: var(--gray);
}

.genesys-calculator {
    padding: 30px;
    background-color: white;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.configuration-panel {
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: 8px;
}

.config-section {
    margin-bottom: 25px;
}

.config-heading {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.info-tooltip {
    margin-left: 8px;
    color: #6c757d;
    cursor: help;
    position: relative;
}

.info-tooltip:hover::after {
    content: attr(title);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: normal;
    width: 250px;
    text-align: center;
    z-index: 10;
    white-space: normal;
}

.plan-info {
    margin-top: -10px;
    margin-bottom: 20px;
}

.plan-note {
    font-size: 0.85rem;
    color: #6c757d;
    font-style: italic;
}

.btn-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.plan-selection, .size-selection {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.package-selection {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.calculator-btn {
    padding: 12px 5px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
}

.calculator-btn.active {
    background-color: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.calculator-btn:hover:not(.active) {
    background-color: #f0f0f0;
}

.size-range {
    display: block;
    font-size: 0.75rem;
    margin-top: 5px;
    opacity: 0.7;
}

.daily-rate-display {
    margin-bottom: 15px;
}

.daily-rate-display label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.fixed-rate {
    padding: 12px 15px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    color: #333;
}

.currency-selector {
    margin-top: 15px;
}

.currency-selector label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.currency-selector select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    background-color: white;
}

.summary-panel {
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: 8px;
}

.summary-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.summary-label {
    font-weight: 500;
    color: #555;
}

.summary-value {
    font-weight: 600;
    color: #333;
}

.summary-divider {
    height: 1px;
    background-color: #eee;
    margin: 12px 0;
}

.total-cost {
    font-size: 1.2rem;
}

.total-cost .summary-label {
    color: var(--primary-blue);
}

.total-cost .summary-value {
    color: var(--primary-blue);
    font-weight: 700;
}

.toggle-breakdown {
    width: 100%;
    background-color: transparent;
    border: 1px solid #ddd;
    color: #555;
}

.toggle-breakdown:hover {
    background-color: #f0f0f0;
}

.breakdown-details {
    margin-top: 20px;
    background-color: white;
    padding: 20px;
    border-radius: 5px;
}

.breakdown-heading {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.breakdown-table {
    width: 100%;
    border-collapse: collapse;
}

.breakdown-header {
    padding: 10px;
    background-color: var(--light-gray);
    text-align: left;
    font-weight: 600;
}

.breakdown-cell {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.text-right {
    text-align: right;
}

.features-section {
    margin-top: 40px;
}

.feature-category {
    margin-bottom: 30px;
}

.category-heading {
    font-size: 1.3rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.feature-card {
    background-color: white;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.feature-content {
    padding: 20px;
    flex: 1;
}

.feature-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.feature-checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.feature-checkbox {
    margin-top: 5px;
    margin-right: 12px;
}

.feature-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
}

.feature-description {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0;
}

.feature-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: var(--light-gray);
    border-top: 1px solid #eee;
}

.days-badge {
    background-color: #e9ecef;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #495057;
}

.unavailable-notice {
    font-size: 0.85rem;
    color: #dc3545;
}

.feature-card.unavailable {
    opacity: 0.7;
    background-color: #f8f8f8;
}

.license-availability {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.license-badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.license-badge.available {
    background-color: #e6f7ee;
    color: #2da86a;
    border: 1px solid #b8e5d0;
}

.license-badge.unavailable {
    background-color: #f8f8f8;
    color: #aaa;
    border: 1px solid #ddd;
    text-decoration: line-through;
}

.license-badge.current {
    box-shadow: 0 0 0 2px var(--primary-blue);
    transform: scale(1.05);
}

.calculator-disclaimer {
    margin-top: 40px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #6c757d;
}

.calculator-disclaimer p {
    margin-bottom: 10px;
}

.calculator-disclaimer p:last-child {
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .plan-selection, .size-selection {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Keep package selection as 2 columns on medium screens */
    .package-selection {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .plan-selection, .size-selection, .package-selection {
        grid-template-columns: 1fr;
    }
}

/* Resource Access Badge */
.resource-access {
    background-color: #f8d7da;
    color: #721c24;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-left: 8px;
    display: inline-flex;
    align-items: center;
}

.resource-access i {
    margin-right: 4px;
    font-size: 0.7rem;
}

/* Coming Soon Card */
.resource-card.coming-soon {
    background-color: var(--light-gray);
    border: 2px dashed #ddd;
}

.resource-card.coming-soon .resource-footer {
    background-color: rgba(0, 0, 0, 0.03);
}

.resource-card.coming-soon .resource-category {
    background-color: var(--accent-orange);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Password Protection */
.password-container {
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 40px 20px;
    margin: 30px 0;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.password-dialog {
    max-width: 500px;
    margin: 0 auto;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

.password-dialog i {
    margin-right: 10px;
    color: var(--primary-blue);
}

.password-form {
    display: flex;
    margin: 25px 0 15px;
    gap: 10px;
}

.password-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.password-btn {
    background-color: var(--primary-blue);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.password-btn:hover {
    background-color: var(--accent-orange);
}

.password-error {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 10px;
    min-height: 20px;
}

/* Shake animation for incorrect password */
@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    50% { transform: translateX(10px); }
    75% { transform: translateX(-10px); }
    100% { transform: translateX(0); }
}

.shake {
    animation: shake 0.5s ease-in-out;
}

/* Resource Tag */
.resource-tag {
    color: #6c757d;
    font-size: 0.9rem;
    font-style: italic;
    display: flex;
    align-items: center;
}

.resource-tag:before {
    content: "\f017";  /* Clock icon */
    font-family: "Font Awesome 5 Free";
    margin-right: 8px;
    color: var(--accent-orange);
}
