:root {
    --primary-color: #ff69b4;
    --secondary-color: #fff;
    --text-color: #333;
    --background-color: #fff;
}

[data-theme="dark"] {
    --primary-color: #ff1493;
    --secondary-color: #1a1a1a;
    --text-color: #fff;
    --background-color: #1a1a1a;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.container {
    max-width: 800px;
    margin: 1rem auto;
    padding: 20px;
    margin-bottom: 2rem;
}

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

#themeToggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

h1 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.sub-heading {
    color: var(--text-color);
    text-align: center;
    font-size: 1.2rem;
    margin-top: 0.3rem;
    margin-bottom: 1.5rem;
    font-weight: normal;
}

.calculator-form {
    background-color: var(--secondary-color);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.input-group {
    margin-bottom: 15px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

/* Form text styles */
.calculator-form label {
    display: block;
    margin-bottom: 8px;
    font-size: 1.1rem;  /* Increased font size for labels */
    font-weight: 500;   /* Slightly bold text */
}

.calculator-form input[type="date"],
.calculator-form input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 1.1rem;  /* Increased font size for inputs */
}

.calculator-form button {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 200px;
    display: block;
    margin: 20px auto 10px;
    font-size: 1.1rem;  /* Increased font size for button */
}

button:hover {
    opacity: 0.9;
}

.results {
    background-color: var(--secondary-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.calendar-view {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin: 15px 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.calendar-day {
    padding: 6px 2px;
    text-align: center;
    background-color: var(--background-color);
    border-radius: 4px;
    position: relative;
    min-height: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 0.9rem;
}

.calendar-day i {
    font-size: 12px;
}

.period i {
    color: #ff0000 !important; /* Bright red color */
}

.fertile i {
    color: #000;
}

.safe i {
    color: #000;
}

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

.fertile {
    background-color: #ffd700;
}

.safe {
    background-color: #90ee90;
}

.legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

@media (max-width: 600px) {
    .container {
        padding: 10px;
        margin: 0;
    }
    
    h1 {
        font-size: 1.8rem;
    }

    .calculator-form {
        padding: 15px;
        margin: 10px;
    }

    .input-group {
        max-width: 100%;
        margin-bottom: 12px;
    }

    .calculator-form label {
        font-size: 0.9rem;
    }

    .calculator-form input[type="date"],
    .calculator-form input[type="number"] {
        font-size: 16px;
        padding: 8px;
    }

    .calculator-form button {
        font-size: 16px;
    }

    .results {
        padding: 15px;
    }

    .calendar-view {
        gap: 2px;
        margin: 10px 0;
    }

    .calendar-day {
        padding: 6px 2px;
        min-height: 25px;
    }

    .calendar-day i {
        font-size: 10px;
    }

    .legend {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        margin: 15px 0;
    }

    .legend-item {
        font-size: 14px;
    }

    .result-item {
        padding: 12px;
        margin-bottom: 12px;
    }

    .result-item p {
        font-size: 14px;
        margin: 8px 0;
    }

    .warning-message {
        padding: 12px;
        font-size: 13px;
        margin: 12px 0;
    }

    /* Ensure the form doesn't overflow */
    .calculator-form {
        max-width: 100%;
        box-sizing: border-box;
    }
}

/* Add specific styles for very small screens */
@media (max-width: 320px) {
    .calendar-day {
        padding: 6px 2px;
        font-size: 12px;
    }

    h1 {
        font-size: 1.8rem;
    }

    .result-item p {
        font-size: 13px;
    }
}

.irregular.period {
    background-color: var(--primary-color);
    opacity: 0.7;
    border: 2px dashed #fff;
}

.irregular.fertile {
    background-color: #ffd700;
    opacity: 0.7;
    border: 2px dashed #fff;
}

.safe-dates-header {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 10px;
}

.result-item {
    background-color: var(--background-color);
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.result-item p {
    margin: 5px 0;
}

.warning-message {
    background-color: #fff3cd;
    color: #856404;
    padding: 15px;
    border-radius: 5px;
    margin: 15px 0;
    border: 1px solid #ffeeba;
    font-size: 0.9em;
}

/* Navbar Styles */
.navbar {
    background-color: var(--primary-color);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
}

.logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 1px;
}

.nav-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-right: -5px;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
}

.hamburger {
    display: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Responsive Styles for Navbar */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 101;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 80px 20px 20px;
        transition: 0.3s ease;
        z-index: 100;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1rem 0;
    }

    /* Hamburger Animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -5px);
    }

    .theme-toggle {
        margin-top: 1rem;
    }

    .sub-heading {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .nav-logo {
        width: 60px;
        height: 60px;
        margin-right: -3px;
    }
    
    .logo {
        font-size: 1.2rem;
        gap: 0;
    }

    .nav-container {
        padding: 0 15px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .nav-logo {
        width: 90px;
        height: 90px;
        margin-right: -2px;
    }
    
    .logo {
        font-size: 1.1rem;
    }
}

/* Footer Styles */
.footer {
    background-color: var(--secondary-color);
    padding: 0.5rem 0;
    width: 100%;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 12px;
    color: var(--text-color);
    opacity: 0.8;
}

/* Dark theme adjustment for footer */
[data-theme="dark"] .footer {
    background-color: var(--secondary-color);
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer {
        padding: 0.3rem 0;
    }
    
    .footer-bottom p {
        font-size: 11px;
    }
}

/* Dark theme adjustments */
[data-theme="dark"] .navbar {
    background-color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--text-color);
    text-decoration: none;
}

/* SEO Content Styles */
.info-section {
    background-color: var(--background-color);
    padding: 2rem 0;
    margin-bottom: 2rem;
}

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

.info-block {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: 8px;
    background-color: var(--secondary-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.info-block h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-block .dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: inline-block;
}

.info-block ul {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.info-block li {
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.info-block .note {
    color: #666;
    font-style: italic;
    margin-top: 1rem;
}

.info-block .warning {
    color: #d32f2f;
    font-weight: 500;
    margin-top: 1rem;
}

/* Dark theme adjustments */
[data-theme="dark"] .info-block .note {
    color: #aaa;
}

[data-theme="dark"] .info-block .warning {
    color: #ff8a8a;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .info-block {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .info-block h3 {
        font-size: 1.1rem;
    }

    .info-block ul {
        padding-left: 1.2rem;
    }
}

/* Privacy Policy Page Styles */
.policy-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 20px;
    margin-bottom: 2rem;
}

.policy-section {
    margin-bottom: 2rem;
    background-color: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 8px;
}

.policy-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.policy-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.policy-section ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.policy-section ul li {
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.policy-section ul ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Responsive styles */
@media (max-width: 768px) {
    .policy-container {
        padding: 15px;
        margin: 1rem auto;
    }

    .policy-section {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .policy-section h2 {
        font-size: 1.2rem;
    }

    .policy-section ul {
        padding-left: 1.2rem;
    }
}

/* Error Styles */
.error-container {
    background-color: #fff3f3;
    border: 1px solid #ffcdd2;
    border-radius: 4px;
    padding: 12px;
    margin: 8px 0;
    color: #d32f2f;
    transition: opacity 0.3s ease;
    font-size: 0.9rem;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.error-container .error-header {
    font-weight: bold;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.error-container ul {
    margin: 0;
    padding-left: 20px;
}

.error-container li {
    margin: 4px 0;
    line-height: 1.3;
    font-size: 0.85rem;
}

/* Input validation styles */
input:invalid {
    border-color: #ffcdd2;
}

.input-group.error label {
    color: #d32f2f;
}

/* Dark theme support */
[data-theme="dark"] .error-container {
    background-color: #421c1c;
    border-color: #d32f2f;
    color: #ff8a8a;
}

/* Mobile responsive error styles */
@media (max-width: 768px) {
    .error-container {
        padding: 10px;
        margin: 6px 0;
        font-size: 0.85rem;
        max-width: 280px;
    }

    .error-container .error-header {
        font-size: 0.9rem;
        margin-bottom: 4px;
    }

    .error-container li {
        font-size: 0.8rem;
        margin: 3px 0;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .error-container {
        max-width: 260px;
        padding: 8px;
    }
}

/* Update container margin */
.container, .policy-container {
    margin-bottom: 2rem;
}

/* Update info-section margin */
.info-section {
    margin-bottom: 2rem;
}

/* Dark theme adjustment */
[data-theme="dark"] .period i {
    color: #ff0000 !important; /* Keep same red color in dark theme */
}

.ovulation-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2px;
}

.ovulation-img {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.sperm-egg-icon {
    width: 14px;
    height: 14px;
    position: relative;
    background: transparent;
}

.sperm-egg-icon::before {
    content: '';
    position: absolute;
    width: 14px;
    height: 14px;
    border: 2px solid #000;
    border-radius: 50%;
    left: 0;
    top: 0;
}

.sperm-egg-icon::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: #000;
    border-radius: 50%;
    right: 2px;
    top: 2px;
}

/* Dark theme adjustment */
[data-theme="dark"] .sperm-egg-icon::before,
[data-theme="dark"] .sperm-egg-icon::after {
    border-color: #fff;
    background-color: #fff;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .sperm-egg-icon {
        width: 12px;
        height: 12px;
    }
    
    .sperm-egg-icon::before {
        width: 12px;
        height: 12px;
    }
    
    .sperm-egg-icon::after {
        width: 3px;
        height: 3px;
        right: 2px;
        top: 2px;
    }

    .ovulation-img {
        width: 12px;
        height: 12px;
    }

    .calendar-view {
        max-width: 300px;
        gap: 1px;
    }

    .calendar-day {
        padding: 4px 1px;
        min-height: 22px;
        font-size: 0.8rem;
    }
}

/* 404 Error Page Styles */
.error-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 150px); /* Account for header and footer */
    text-align: center;
    padding: 20px;
}

.error-content {
    max-width: 500px;
}

.error-content h1 {
    font-size: 6rem;
    color: var(--primary-color);
    margin: 0;
    line-height: 1;
}

.error-content h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin: 10px 0 20px;
}

.error-content p {
    color: var(--text-color);
    margin-bottom: 30px;
}

.home-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.home-button:hover {
    background-color: #e5558d;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .error-content h1 {
        font-size: 4rem;
    }
    
    .error-content h2 {
        font-size: 1.5rem;
    }
}

/* Blog Styles */
.blog-container {
    max-width: 900px;
    margin: 2rem auto;
}

.blog-content {
    margin-top: 2rem;
}

.blog-post {
    background-color: var(--secondary-color);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.blog-post h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.blog-post p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-post ul, 
.blog-post ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.blog-post li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.blog-post .warning-note {
    background-color: #fff3cd;
    color: #856404;
    padding: 1rem;
    border-radius: 4px;
    margin: 1rem 0;
}

[data-theme="dark"] .blog-post .warning-note {
    background-color: #2c2815;
    color: #ffd970;
}

/* Blog Styles - Mobile Responsive */
@media (max-width: 768px) {
    .blog-container {
        padding: 10px;
        margin: 1rem auto;
    }

    .blog-container h1 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .blog-container .sub-heading {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .blog-content {
        margin-top: 1rem;
    }

    .blog-post {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .blog-post h2 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }

    .blog-post p {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 0.8rem;
    }

    .blog-post ul, 
    .blog-post ol {
        margin-left: 1rem;
        margin-bottom: 0.8rem;
    }

    .blog-post li {
        font-size: 0.95rem;
        margin-bottom: 0.4rem;
    }

    .blog-post .warning-note {
        padding: 0.8rem;
        margin: 0.8rem 0;
        font-size: 0.9rem;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .blog-container {
        padding: 8px;
    }

    .blog-container h1 {
        font-size: 1.6rem;
    }

    .blog-container .sub-heading {
        font-size: 0.9rem;
    }

    .blog-post {
        padding: 0.8rem;
    }

    .blog-post h2 {
        font-size: 1.2rem;
    }

    .blog-post p,
    .blog-post li {
        font-size: 0.9rem;
    }

    .blog-post ul, 
    .blog-post ol {
        margin-left: 0.8rem;
    }

    .blog-post .warning-note {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
}

/* Fix for nested lists on mobile */
@media (max-width: 768px) {
    .blog-post ol li ul,
    .blog-post ul li ul {
        margin-left: 0.8rem;
        margin-top: 0.4rem;
    }

    .blog-post ol li ul li,
    .blog-post ul li ul li {
        font-size: 0.9rem;
    }
}

/* Better spacing for mobile */
@media (max-width: 768px) {
    .blog-post + .blog-post {
        margin-top: 1.5rem;
    }

    .blog-post:last-child {
        margin-bottom: 2rem;
    }

    /* Improve readability on dark theme for mobile */
    [data-theme="dark"] .blog-post {
        background-color: rgba(26, 26, 26, 0.95);
    }

    [data-theme="dark"] .blog-post .warning-note {
        background-color: rgba(44, 40, 21, 0.95);
    }
}

.calculator-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #f0f0f0;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background-color: #ff69b4;
    color: white;
}

.cycle-history {
    margin-top: 20px;
}

.cycle-inputs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.cycle-input {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cycle-input input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Pregnancy Calculator Specific Styles */
.result-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

#weekInfo {
    background-color: var(--background-color);
    padding: 15px;
    border-radius: 5px;
    margin-top: 10px;
}

#weekInfo p {
    margin: 8px 0;
    line-height: 1.4;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .result-item h3 {
        font-size: 1.1rem;
    }

    #weekInfo {
        padding: 12px;
    }

    #weekInfo p {
        font-size: 0.9rem;
    }
}

/* Terms & Conditions Page Styles */
.terms-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 20px;
}

.terms-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--secondary-color);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.terms-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.terms-section p {
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* About Page Styles */
.about-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 20px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .terms-container,
    .about-container {
        padding: 15px;
        margin: 1rem auto;
    }

    .terms-section {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .terms-section h2 {
        font-size: 1.2rem;
    }
}

/* Add these styles for the dropdown menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--primary-color);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1000;
    border-radius: 5px;
    top: 100%;
    right: 0;
}

.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
}

.dropdown-content a:hover {
    background-color: rgba(255,255,255,0.1);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.more-btn {
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Hide dropdown items in mobile view */
@media (max-width: 768px) {
    .dropdown-content {
        display: none !important;
    }
    
    .more-btn {
        display: none;
    }
    
    /* Show the links directly in mobile menu */
    .mobile-dropdown-links {
        display: block;
    }
}

/* Mobile dropdown links styling */
.mobile-dropdown-links {
    display: none;
}

@media (max-width: 768px) {
    .mobile-dropdown-links {
        display: block;
    }
    
    .nav-links .mobile-dropdown-links a {
        padding: 10px 20px;
        display: block;
        color: white;
        text-decoration: none;
    }
    
    .nav-links .mobile-dropdown-links a:hover {
        background-color: rgba(255,255,255,0.1);
    }
}

/* Contact Page Styles */
.contact-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 20px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 2rem;
}

.contact-info, .contact-form {
    background-color: var(--secondary-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact-info h2, .contact-form h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.contact-details {
    margin: 2rem 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.social-links h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: opacity 0.3s;
}

.social-icons a:hover {
    opacity: 0.8;
}

/* Contact Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: var(--background-color);
    color: var(--text-color);
}

.form-group textarea {
    resize: vertical;
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: opacity 0.3s;
}

.contact-note {
    margin-top: 20px;
    padding: 10px;
    border-radius: 5px;
    background-color: rgba(255, 105, 180, 0.1);
}

.contact-note p {
    color: var(--text-color);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-note i {
    color: var(--primary-color);
}

/* Dark theme adjustment */
[data-theme="dark"] .contact-note {
    background-color: rgba(255, 105, 180, 0.05);
}

.submit-btn:hover {
    opacity: 0.9;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-info, .contact-form {
        padding: 1.5rem;
    }

    .contact-info h2, .contact-form h2 {
        font-size: 1.2rem;
    }

    .social-icons {
        gap: 15px;
    }

    .social-icons a {
        font-size: 1.3rem;
    }
}

/* Success Message Styles */
.success-message {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--secondary-color);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    text-align: center;
    z-index: 1000;
}

.success-message i {
    color: #4CAF50;
    font-size: 48px;
    margin-bottom: 15px;
}

.success-message h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.success-message.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

/* Error Message Styles */
.error-message {
    color: #ff3333;
    font-size: 0.9rem;
    margin-top: 5px;
    display: none;
}

.form-group.error input,
.form-group.error textarea {
    border-color: #ff3333;
}

.form-group.error .error-message {
    display: block;
}

/* About Page Enhanced Styles */
.about-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: var(--secondary-color);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.about-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.company-intro p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 8px;
    background-color: var(--background-color);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.info-item {
    padding: 1rem;
    background-color: var(--background-color);
    border-radius: 8px;
}

.info-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.commitment-list {
    list-style-type: none;
    padding-left: 0;
}

.commitment-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.commitment-list li::before {
    content: "•";
    color: var(--primary-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -0.2rem;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .about-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .about-section h2 {
        font-size: 1.5rem;
    }

    .features-grid,
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-item {
        padding: 1rem;
    }

    .feature-item i {
        font-size: 2rem;
    }

    .company-intro p {
        font-size: 1rem;
    }
}

/* Dark theme adjustments */
[data-theme="dark"] .feature-item,
[data-theme="dark"] .info-item {
    background-color: rgba(26, 26, 26, 0.95);
}

/* Honeypot anti-spam field - invisible to real users */
.honeypot-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}