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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f7fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.main-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.logo-icon {
    font-size: 32px;
}

.logo-text {
    color: white;
    font-size: 22px;
    font-weight: 700;
}

/* Navigation Styles */
.main-nav {
    position: relative;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 5px;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 10px 18px;
    display: block;
    font-weight: 500;
    font-size: 15px;
    border-radius: 6px;
    transition: background 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    background: rgba(255, 255, 255, 0.2);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropbtn {
    cursor: pointer;
}

.arrow {
    font-size: 10px;
    margin-left: 5px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    top: 100%;
    left: 0;
    margin-top: 5px;
    overflow: hidden;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: background 0.2s;
}

.dropdown-content a:hover {
    background: #f0f0f0;
}

.dropdown-content a.disabled {
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

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

.coming-soon-badge {
    background: #ff9800;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    margin-left: 5px;
    font-weight: 600;
}

/* Main Content */
main {
    flex: 1;
    padding: 40px 20px;
}

/* Footer Styles */
.main-footer {
    background: #2c3e50;
    color: white;
    padding: 50px 20px 20px;
    margin-top: auto;
}

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

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

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #667eea;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #ecf0f1;
}

.footer-col p {
    color: #bdc3c7;
    line-height: 1.6;
    font-size: 14px;
}

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

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #667eea;
}

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

.social-links a {
    font-size: 24px;
    text-decoration: none;
    transition: transform 0.3s;
}

.social-links a:hover {
    transform: scale(1.2);
}

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

.footer-bottom p {
    color: #bdc3c7;
    font-size: 14px;
    margin: 5px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        height: 60px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 60px;
        right: 0;
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        max-height: 500px;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        padding: 15px 20px;
        border-radius: 0;
    }

    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 0;
    }

    .dropdown-content a {
        color: white;
        padding-left: 35px;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Homepage Specific Styles */
.hero-section {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    margin-bottom: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-section h1 {
    font-size: 48px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-section p {
    font-size: 20px;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

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

.section-title {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 40px;
}

.calculators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.calculator-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
}

.calculator-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.calculator-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.calculator-icon {
    font-size: 64px;
    margin-bottom: 20px;
    display: block;
}

.calculator-card h2 {
    font-size: 26px;
    color: #333;
    margin-bottom: 15px;
}

.calculator-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 15px;
}

.calculator-features {
    list-style: none;
    margin-bottom: 25px;
}

.calculator-features li {
    padding: 8px 0;
    color: #555;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.calculator-features li::before {
    content: '✓';
    color: #667eea;
    font-weight: bold;
    margin-right: 10px;
    font-size: 18px;
}

.btn-launch {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: transform 0.2s;
    text-align: center;
    border: none;
    cursor: pointer;
}

.btn-launch:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.features-section {
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    margin-top: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-item .icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.feature-item h3 {
    color: #333;
    font-size: 20px;
    margin-bottom: 10px;
}

.feature-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.badge {
    display: inline-block;
    padding: 5px 12px;
    background: #e3f2fd;
    color: #1976d2;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 10px;
}

.coming-soon-card {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.coming-soon-card::after {
    content: 'COMING SOON';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-15deg);
    background: #ff9800;
    color: white;
    padding: 10px 30px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 32px;
    }

    .hero-section p {
        font-size: 16px;
    }

    .calculators-grid {
        grid-template-columns: 1fr;
    }

    .features-section {
        padding: 30px 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}
.container{
    max-width: 900px;
    margin: 30px auto;
    padding: 25px;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    line-height: 1.7;
}

/* Headings */
.container h1{
    font-size: 26px;
    margin-bottom: 15px;
    color: #222;
}

.container h3{
    font-size: 18px;
    margin-top: 25px;
    margin-bottom: 10px;
    color: #333;
}

/* Text */
.container p{
    font-size: 15px;
    color: #555;
    margin-bottom: 12px;
}

/* List */
.container ul{
    margin-left: 20px;
    margin-bottom: 15px;
}

.container ul li{
    font-size: 15px;
    color: #555;
    margin-bottom: 6px;
}

/* Links inside content */
.container a{
    color: #0d6efd;
    text-decoration: none;
}

.container a:hover{
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 600px){
    .container{
        margin: 15px;
        padding: 18px;
    }

    .container h1{
        font-size: 22px;
    }

    .container h3{
        font-size: 17px;
    }
}
.calculator-content-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    font-family: Arial, sans-serif;
    line-height: 1.7;
    color: #333;
}

.calculator-content-container h2,
.calculator-content-container h3,
.calculator-content-container h4 {
    color: #5b2dbd;
    margin-top: 25px;
}

.calculator-content-container p {
    margin-top: 10px;
}

.calculator-content-container ul {
    padding-left: 20px;
    margin-top: 10px;
}

.calculator-content-container ul li {
    margin-bottom: 6px;
}

.note-box {
    margin-top: 25px;
    padding: 15px;
    background: #f3f0fb;
    border-left: 5px solid #5b2dbd;
    border-radius: 6px;
}

.faq-title {
    margin-top: 40px;
}

.faq-item {
    margin-top: 15px;
    padding: 15px;
    background: #fafafa;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

.faq-item h4 {
    margin-bottom: 5px;
    font-size: 16px;
}

@media (max-width: 768px) {
    .calculator-content-container {
        padding: 20px;
        margin: 20px;
    }
}
