/* Global Styles */
:root {
    --primary-color: #008080;
    --secondary-color: #006666;
    --accent-color: #d4af37;
    --light-color: #f8f9fa;
    --dark-color: #1a2639;
    --grey-color: #64748b;
    --light-grey: #e2e8f0;
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #f0f5f5;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
    transform: translateY(-2px);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 60px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    line-height: 1.3;
    font-weight: 700;
}

p {
    margin-bottom: 15px;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--dark-color);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background-color: #c4a030;
    color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 102, 102, 0.3);
}

.btn-secondary:hover {
    background-color: #005252;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 102, 102, 0.4);
}

/* Header Styles - Improved for mobile */
header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; /* Added for proper positioning */
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo h1 {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.logo span {
    color: var(--accent-color);
}

nav {
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
    gap: 25px;
}

.menu li a {
    color: white;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
    opacity: 0.9;
}

.menu li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: white;
    transition: var(--transition);
    border-radius: 2px;
}

.menu li a:hover:after,
.menu li a.active:after {
    width: 100%;
}

.menu li a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.menu li a.active {
    opacity: 1;
}

/* Hamburger Menu Styles - Improved for visibility */
.hamburger {
    display: none;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 8px;
    border-radius: 5px;
    z-index: 1001;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: white;
}

/* Hero Section */
.hero {
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    background: radial-gradient(circle at 10% 20%, rgba(0, 128, 128, 0.05) 0%, rgba(0, 102, 102, 0.03) 90%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.03) 0%, rgba(0, 128, 128, 0.02) 50%, transparent 70%);
    animation: rotate-gradient 20s linear infinite;
    z-index: 0;
}

@keyframes rotate-gradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .hero-split {
        grid-template-columns: 1fr;
    }
}

/* Hero content styles */
.hero-content {
    text-align: left;
    position: relative;
    z-index: 2;
    transform: translateZ(0);
}

.hero-content h2 {
    text-align: left;
    font-size: 44px;
    margin-bottom: 25px;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    position: relative;
}

.hero-content p {
    text-align: left;
    margin-left: 0;
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 90%;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.hero-buttons a {
    transform: translateZ(20px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-buttons a:hover {
    transform: translateZ(30px) translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* 3D Scene Container */
.scene-container {
    position: relative;
    height: 450px;
    perspective: 1200px;
    transform-style: preserve-3d;
}

/* 3D Carousel */
.carousel {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    animation: rotate-carousel 20s infinite linear;
}

@keyframes rotate-carousel {
    0% { transform: rotateY(0); }
    100% { transform: rotateY(360deg); }
}

.carousel-item {
    position: absolute;
    width: 200px;
    height: 250px;
    left: calc(50% - 100px);
    top: calc(50% - 125px);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform-origin: center center;
    transition: transform 0.5s ease;
    overflow: hidden;
}

.carousel-item:nth-child(1) {
    transform: rotateY(0deg) translateZ(300px);
}

.carousel-item:nth-child(2) {
    transform: rotateY(90deg) translateZ(300px);
}

.carousel-item:nth-child(3) {
    transform: rotateY(180deg) translateZ(300px);
}

.carousel-item:nth-child(4) {
    transform: rotateY(270deg) translateZ(300px);
}

.carousel-item .icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    transform: translateZ(30px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.carousel-item .icon i {
    color: white;
    font-size: 28px;
    position: relative;
    z-index: 2;
}

.carousel-item h4 {
    color: var(--primary-color);
    margin: 0 0 15px 0;
    font-size: 20px;
    transform: translateZ(20px);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.carousel-item p {
    color: var(--grey-color);
    font-size: 15px;
    margin: 0;
    line-height: 1.5;
    transform: translateZ(15px);
}

/* 3D Floating Elements */
.floating-element {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), rgba(212, 175, 55, 0.7));
    opacity: 0.7;
    transform-style: preserve-3d;
    animation: float-around 15s infinite linear;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.floating-element:nth-child(1) {
    width: 30px;
    height: 30px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 18s;
}

.floating-element:nth-child(2) {
    width: 25px;
    height: 25px;
    top: 70%;
    left: 20%;
    animation-delay: 2s;
    animation-duration: 15s;
    background: linear-gradient(135deg, var(--primary-color), rgba(0, 128, 128, 0.7));
}

.floating-element:nth-child(3) {
    width: 35px;
    height: 35px;
    top: 30%;
    right: 15%;
    animation-delay: 4s;
    animation-duration: 20s;
    background: linear-gradient(135deg, var(--secondary-color), rgba(0, 102, 102, 0.7));
}

.floating-element:nth-child(4) {
    width: 20px;
    height: 20px;
    bottom: 15%;
    right: 20%;
    animation-delay: 6s;
    animation-duration: 17s;
}

@keyframes float-around {
    0% {
        transform: translateZ(-100px) translateX(0) translateY(0) rotate(0deg);
    }
    25% {
        transform: translateZ(100px) translateX(100px) translateY(-50px) rotate(90deg);
    }
    50% {
        transform: translateZ(-50px) translateX(50px) translateY(100px) rotate(180deg);
    }
    75% {
        transform: translateZ(50px) translateX(-100px) translateY(50px) rotate(270deg);
    }
    100% {
        transform: translateZ(-100px) translateX(0) translateY(0) rotate(360deg);
    }
}

/* 3D Depth Grid */
.depth-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    transform: rotateX(60deg) translateZ(-100px);
    perspective: 1000px;
    opacity: 0.3;
    pointer-events: none;
}

/* Mouse move effect */
.scene-container:hover .carousel-item {
    animation-play-state: paused;
}

.scene-container:hover .carousel-item:hover {
    transform: scale(1.05) translateZ(350px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

/* Calculator Section */
.calculator-section {
    padding: 80px 0;
    position: relative;
}

.calculator-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="%23f0f0f0"/></svg>');
    opacity: 0.5;
    z-index: -1;
}

.calculator-container {
    background-color: white;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    padding: 40px;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    border-top: 5px solid var(--primary-color);
}

.calculator-container h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-size: 28px;
    position: relative;
    padding-bottom: 15px;
}

.calculator-container h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.calculator-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.input-group label {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 16px;
}

.input-group input {
    padding: 15px;
    border: 2px solid var(--light-grey);
    border-radius: 10px;
    font-size: 16px;
    transition: var(--transition);
    background-color: #f9f9f9;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.2);
    background-color: white;
}

#calculate-btn {
    margin-top: 10px;
    padding: 15px;
    font-size: 18px;
    font-weight: 700;
}

.result {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px dashed var(--light-grey);
    display: none;
}

.result h4 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--secondary-color);
    font-size: 24px;
}

.result-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.result-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    min-width: 120px;
    transition: var(--transition);
}

.result-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
    background-color: white;
}

.result-item .number {
    font-size: 42px;
    font-weight: 800;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.result-item .label {
    font-size: 16px;
    color: var(--grey-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detailed-result {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.result-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--light-grey);
}

.result-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.result-row .label {
    font-weight: 600;
    color: var(--dark-color);
}

.result-row .value {
    font-weight: 700;
    color: var(--secondary-color);
}

/* Features Section */
.features {
    background-color: #f9f9f9;
    text-align: center;
    padding: 100px 0;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="30" height="30" viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="%23f0f0f0"/></svg>');
    opacity: 0.5;
    z-index: 0;
}

.features h3 {
    margin-bottom: 60px;
    font-size: 36px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.features h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background-color: white;
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-card .icon {
    background: linear-gradient(135deg, rgba(0, 128, 128, 0.1) 0%, rgba(0, 102, 102, 0.1) 100%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    position: relative;
}

.feature-card .icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px dashed var(--primary-color);
    opacity: 0.3;
    animation: spin 20s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.feature-card .icon i {
    font-size: 36px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.feature-card h4 {
    margin-bottom: 20px;
    font-size: 22px;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--grey-color);
    font-size: 15px;
    line-height: 1.7;
}

/* How To Use Section */
.how-to-use {
    text-align: center;
    padding: 100px 0;
    background-color: white;
    position: relative;
}

.how-to-use h3 {
    margin-bottom: 60px;
    font-size: 36px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.how-to-use h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    opacity: 0.2;
    z-index: 0;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
    max-width: 300px;
    position: relative;
    z-index: 1;
}

.step-number {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px dashed var(--primary-color);
    opacity: 0.3;
}

.step-content {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.step-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    background-color: white;
}

.step-content h4 {
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 20px;
}

.step-content p {
    color: var(--grey-color);
    font-size: 15px;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.page-header h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* Legal Pages */
.legal-section {
    padding: 60px 0;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-item {
    margin-bottom: 40px;
}

.legal-item h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 24px;
}

.legal-item h4 {
    margin: 20px 0 10px;
    font-size: 18px;
}

.legal-item p, .legal-item ul, .legal-item ol {
    margin-bottom: 15px;
}

.legal-item ul, .legal-item ol {
    padding-left: 20px;
}

.legal-item li {
    margin-bottom: 10px;
}

/* About Section - Enhanced */
.about-section {
    padding: 80px 0;
    background-color: var(--light-color);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="%23e2e8f0"/></svg>');
    opacity: 0.5;
    z-index: 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text h3 {
    color: var(--dark-color);
    font-size: 28px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.about-list {
    margin: 30px 0;
}

.about-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.about-list li i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 20px;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.about-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    opacity: 0.1;
    z-index: -1;
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    opacity: 0.1;
    z-index: -1;
}

/* Team Section - Enhanced */
.team-section {
    padding: 60px 0;
    text-align: center;
}

.team-section h3 {
    font-size: 32px;
    margin-bottom: 50px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.team-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    padding-bottom: 20px;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.member-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-role {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    margin: 5px 0;
}

.member-bio {
    padding: 0 20px;
    font-size: 14px;
    color: var(--grey-color);
    line-height: 1.6;
}

/* Contact Page */
.contact-section {
    padding: 60px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info h3, .contact-form h3 {
    margin-bottom: 30px;
    color: var(--primary-color);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.info-item .icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(67, 97, 238, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.info-item .icon i {
    color: var(--primary-color);
    font-size: 20px;
}

.info-item .text h4 {
    margin-bottom: 5px;
}

.info-item .text p {
    color: var(--grey-color);
}

.social-links {
    margin-top: 30px;
}

.social-links h4 {
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-grey);
    border-radius: var(--border-radius);
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
}

.map-section {
    padding: 60px 0;
}

.map-section h3 {
    text-align: center;
    margin-bottom: 30px;
}

.map-container {
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.map-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--light-color);
    color: var(--grey-color);
}

.map-placeholder i {
    font-size: 60px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

/* FAQ Page */
.faq-section {
    padding: 60px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto 60px;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--light-grey);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background-color: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    margin: 0;
    font-size: 18px;
}

.faq-toggle {
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 20px 20px;
    background-color: white;
}

.faq-item.active .faq-question {
    background-color: rgba(67, 97, 238, 0.05);
}

.faq-contact {
    text-align: center;
    padding: 40px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.faq-contact h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.faq-contact p {
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer Styles */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 80px 0 20px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-logo h2 {
    font-size: 28px;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.footer-logo p {
    color: #adb5bd;
    font-size: 15px;
    line-height: 1.7;
}

.footer-links h4 {
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    color: white;
    font-size: 20px;
}

.footer-links h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links ul li a {
    color: #adb5bd;
    transition: var(--transition);
    font-size: 15px;
    display: flex;
    align-items: center;
}

.footer-links ul li a:before {
    content: '→';
    margin-right: 8px;
    color: var(--primary-color);
    font-size: 14px;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-links ul li a:hover:before {
    opacity: 1;
    transform: translateX(0);
}

.footer-newsletter p {
    margin-bottom: 25px;
    color: #adb5bd;
    font-size: 15px;
    line-height: 1.7;
}

/* Footer Newsletter Form - Further improved */
.footer-newsletter {
    width: 100%;
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}

.newsletter-form input {
    flex: 1 1 200px;
    padding: 12px 15px;
    border: 1px solid var(--light-grey);
    border-radius: var(--border-radius);
    font-size: 14px;
    min-width: 0; /* Prevents input from overflowing */
    width: 100%;
}

.newsletter-form button {
    padding: 12px 20px;
    white-space: nowrap;
    flex: 0 0 auto;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    outline: none;
    background-color: rgba(255, 255, 255, 0.15);
}

.newsletter-form button {
    padding: 15px;
    font-size: 14px;
    border-radius: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    margin-bottom: 0;
    font-size: 14px;
    color: #adb5bd;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: white;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-icons a:hover {
    transform: translateY(-5px) rotate(360deg);
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Calculator Info Section */
.calculator-info {
    background-color: white;
    padding: 80px 0;
    position: relative;
}

.calculator-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="%23f0f0f0"/></svg>');
    opacity: 0.5;
    z-index: 0;
}

.calculator-info h3 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 36px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
}

.calculator-info h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.info-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
}

.info-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--grey-color);
    font-size: 16px;
}

.info-content strong {
    color: var(--primary-color);
    font-weight: 700;
}

.info-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.info-content ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    color: var(--grey-color);
}

.info-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Calculators Grid Section */
.calculators-grid-section {
    padding: 80px 0;
    background-color: white;
    position: relative;
}

.calculators-grid-section h3 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
}

.calculators-grid-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.calculators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.calculator-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    border-top: 5px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.calculator-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.calculator-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 128, 128, 0.1) 0%, rgba(0, 102, 102, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
}

.calculator-icon::after {
    content: '';
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px dashed var(--primary-color);
    opacity: 0.3;
    animation: spin 20s linear infinite;
}

.calculator-icon i {
    font-size: 32px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.calculator-card h4 {
    margin-bottom: 15px;
    color: var(--dark-color);
    font-size: 20px;
}

.calculator-card p {
    margin-bottom: 25px;
    color: var(--grey-color);
    font-size: 15px;
    line-height: 1.6;
    flex-grow: 1;
}

.calculator-card .btn-primary {
    margin-top: auto;
    align-self: center;
}

/* Recent Searches Section */
.recent-searches {
    background-color: #f9f9f9;
    padding: 80px 0;
    position: relative;
}

.recent-searches::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="%23f0f0f0"/></svg>');
    opacity: 0.5;
    z-index: 0;
}

.recent-searches h3 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
}

.recent-searches h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.searches-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    position: relative;
    z-index: 1;
}

.search-item {
    background-color: white;
    border-radius: 10px;
    padding: 15px 20px;
    box-shadow: var(--box-shadow);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.search-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.search-date {
    font-weight: 600;
    color: var(--dark-color);
}

.search-result {
    color: var(--primary-color);
    font-weight: 700;
}

/* Birth Year Grid */
.birth-year-grid {
    padding: 80px 0;
    background-color: white;
    position: relative;
}

.birth-year-grid h3 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
}

.birth-year-grid h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.years-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.year-link {
    display: block;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    color: var(--dark-color);
    text-decoration: none;
    transition: var(--transition);
    border-left: 3px solid var(--primary-color);
}

.year-link:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: var(--box-shadow);
    border-left: 3px solid var(--accent-color);
}

/* Calculator Section Updates */
.calculator-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--grey-color);
    font-size: 18px;
}

.calculator-section h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 36px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
}

.calculator-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Responsive Styles - Updated for better mobile experience */
@media (max-width: 992px) {
    .menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 30px 0;
        gap: 20px;
        z-index: 1000;
        height: auto;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .menu.active {
        left: 0;
        display: flex;
    }

    .menu li {
        margin: 0;
        padding: 0;
    }

    .menu li a {
        font-size: 18px;
        padding: 10px 0;
        display: block;
        color: white;
        opacity: 1;
    }

    .menu li a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .menu li a.active {
        background-color: rgba(255, 255, 255, 0.2);
    }

    .hamburger {
        display: block;
        z-index: 1001;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero h2 {
        font-size: 36px;
    }

    .steps {
        flex-direction: column;
        align-items: center;
    }

    .steps::before {
        display: none;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        margin-bottom: 30px;
    }

    .feature-card {
        padding: 30px 20px;
    }
    
    .calculators-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-card {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .searches-container {
        grid-template-columns: 1fr;
    }
    
    .years-container {
        grid-template-columns: 1fr;
    }
    
    /* Improved newsletter form for tablet */
    .newsletter-form {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .newsletter-form input {
        flex: 1 1 60%;
    }
    
    .newsletter-form button {
        flex: 0 0 auto;
    }
}

@media (max-width: 576px) {
    .hero h2 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .calculator-container {
        padding: 30px 20px;
    }

    .result-container {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .result-item {
        width: 100%;
        max-width: 200px;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
    }
    
    .newsletter-form input {
        width: 100%;
    }
    
    .newsletter-form button {
        width: 100%;
        margin-top: 10px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        gap: 40px;
    }
} 

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: #f9f9f9;
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="%23f0f0f0"/></svg>');
    opacity: 0.5;
    z-index: 0;
}

.testimonials h3 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonials h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background-color: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    flex-grow: 1;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content::before {
    content: '\201C';
    font-size: 80px;
    position: absolute;
    top: -20px;
    left: -10px;
    color: rgba(255, 107, 107, 0.1);
    font-family: serif;
    z-index: 0;
}

.testimonial-content p {
    position: relative;
    z-index: 1;
    font-style: italic;
    color: var(--dark-color);
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.author-image i {
    font-size: 24px;
    color: white;
}

.author-info h4 {
    margin: 0;
    font-size: 16px;
    color: var(--dark-color);
}

.author-info p {
    margin: 5px 0 0;
    font-size: 14px;
    color: var(--grey-color);
}

/* FAQ Preview Section */
.faq-preview {
    padding: 80px 0;
    background-color: white;
}

.faq-preview h3 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
}

.faq-preview h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.faq-preview-container {
    max-width: 800px;
    margin: 0 auto 40px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 20px;
    background-color: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h4 {
    margin: 0;
    font-size: 18px;
    color: var(--dark-color);
}

.faq-toggle {
    color: var(--primary-color);
    transition: var(--transition);
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px 20px;
    background-color: white;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    margin: 0;
    color: var(--grey-color);
    line-height: 1.6;
}

/* View All Button */
.view-all-btn {
    text-align: center;
    margin-top: 40px;
}

.view-all-btn .btn-secondary {
    padding: 12px 30px;
    font-size: 16px;
} 

/* Ad Placement Styles - Borderless */
.ad-container {
    width: 100%;
    margin: 40px auto;
    text-align: center;
    position: relative;
}

.ad-container::before {
    content: "Advertisement";
    display: block;
    text-align: center;
    font-size: 12px;
    color: var(--grey-color);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ad-placeholder {
    background-color: transparent;
    border: none;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ad-placeholder p {
    margin: 0;
    font-size: 14px;
    color: var(--grey-color);
}

.ad-placeholder .ad-size {
    font-weight: normal;
    color: var(--grey-color);
    margin-top: 5px;
    text-decoration: none;
}

/* Ad Sizes - Borderless */
.ad-large-leaderboard {
    height: 90px;
    width: 100%;
    max-width: 728px;
    margin: 0 auto;
}

.ad-large-rectangle {
    height: 250px;
    width: 100%;
    max-width: 336px;
    margin: 0 auto;
}

.ad-wide-skyscraper {
    height: 600px;
    width: 100%;
    max-width: 160px;
    margin: 0 auto;
}

.ad-medium-rectangle {
    height: 250px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.ad-large-mobile-banner {
    height: 100px;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}

.ad-billboard {
    height: 250px;
    width: 100%;
    max-width: 970px;
    margin: 0 auto;
}

/* Ad Grid - Borderless */
.ad-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Responsive Ad Containers */
@media (max-width: 768px) {
    .ad-grid {
        grid-template-columns: 1fr;
    }
    
    .ad-billboard, .ad-large-leaderboard {
        height: auto;
        min-height: 90px;
        max-width: 100%;
    }
}

/* Sticky Ad Container - Now Static */
.ad-sticky-container {
    position: static;
    top: auto;
    z-index: auto;
    background-color: transparent;
    padding: 10px 0;
    margin: 0;
    width: 100%;
    text-align: center;
} 