/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}
.featured-subheading{
    text-align: left;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 5px;
    padding:10px;
    border-left:5px solid #2c3e50;
}

/* Navbar */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #2c3e50;
    color: white;
    position: relative;
}

/* Logo */
.navbar .logo img {
    height: 50px;
}

/* Navigation Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: #1abc9c;
}

/* Buttons */
.nav-buttons .btn {
    padding: 8px 15px;
    margin-left: 10px;
    border: none;
    cursor: pointer;
    font-weight: bold;
    border-radius: 4px;
    transition: background 0.3s;
}

.nav-buttons .login {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.nav-buttons .login:hover {
    background: white;
    color: #2c3e50;
}

.nav-buttons .signup {
    background: #1abc9c;
    color: white;
}

.nav-buttons .signup:hover {
    background: #16a085;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
}
.slider-container {
    position: relative;
    width: 100%;
    
    overflow: hidden;
    border-radius: 0px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Slider */
.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Slider images */
.slider img {
    width: 100%;
    height:500px;
    flex-shrink: 0;
    object-fit: cover;
}

/* Navigation Buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px;
    cursor: pointer;
    border-radius: 0%;
    z-index: 10;
    transition: background-color 0.3s;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}
.headingBorder{
    width:40%;
    margin:auto;
    margin-bottom:30px;
    border-bottom:3px solid #2c3e50;
    border-radius:5px;
    
}
.featured-section {
        max-width: 1200px;
        margin: 60px auto;
        padding: 0 20px;
    }

    .featured-title {
        text-align: center;
        font-size: 36px;
        font-weight: 700;
        margin-bottom: 5px;
    }

    .calculator-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 24px;
    }

    .calculator-card {
        background: #ffffff;
        border-radius: 16px;
        padding: 28px 24px;
        text-align: center;
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .calculator-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 18px 40px rgba(0,0,0,0.12);
    }

    .calculator-card h3 {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .calculator-card p {
        font-size: 15px;
        color: #666;
        margin-bottom: 20px;
    }

    .calculator-card a {
        display: inline-block;
        padding: 10px 22px;
        border-radius: 8px;
        background: #2c3e50;
        color: #fff;
        text-decoration: none;
        font-size: 14px;
        font-weight: 600;
        transition: background 0.3s ease;
    }

    .calculator-card a:hover {
        background: #1e4fd8;
    }
    .site-footer {
    background: linear-gradient(180deg, #0f172a, #020617);
    color: #cbd5f5;
    font-family: Arial, Helvetica, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 60px 20px 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-box h3 {
    font-size: 24px;
    margin-bottom: 14px;
    color: #ffffff;
}

.footer-box h4 {
    font-size: 18px;
    margin-bottom: 14px;
    color: #ffffff;
}

.footer-box p {
    font-size: 14px;
    line-height: 1.7;
    color: #94a3b8;
}

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

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

.footer-box ul li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-box ul li a:hover {
    color: #38bdf8;
}

.disclaimer {
    font-size: 13px;
    color: #94a3b8;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    text-align: center;
    padding: 18px;
    font-size: 13px;
    color: #94a3b8;
}

.about-container{
    padding:60px 20px;
    background:#f8fafc;
    display:flex;
    justify-content:center;
}

.about-content{
    max-width:900px;
    background:#ffffff;
    padding:40px;
    border-radius:12px;
    box-shadow:0 5px 20px rgba(0,0,0,0.08);
}

.about-content h1{
    font-size:36px;
    margin-bottom:20px;
    color:#0f172a;
}

.about-content h2{
    margin-top:30px;
    margin-bottom:10px;
    color:#1e293b;
}

.about-content p{
    line-height:1.7;
    color:#475569;
    font-size:16px;
}

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

.about-content ul li{
    margin-bottom:8px;
    color:#334155;
}
.viewAll{
    width:100%;
    margin-top:40px;
}
.viewAll a{
    background:#2c3e50;
    color:white;
    text-decoration:none;
    padding:10px;
    width:120px;
    border-radius:20px;
}

/* Responsive */

@media (max-width:768px){

.about-content{
    padding:25px;
}

.about-content h1{
    font-size:28px;
}

.about-content p{
    font-size:15px;
}

}

/* Responsive */
@media(max-width: 768px) {
    .prev, .next {
        font-size: 1.5rem;
        padding: 7px;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links,
    .nav-buttons {
        display: none;
        flex-direction: column;
        background: #34495e;
        width: 100%;
        position: absolute;
        top: 70px;
        left: 0;
        padding: 10px 0;
    }

    .nav-links.active,
    .nav-buttons.active {
        display: flex;
    }

    .nav-links li {
        text-align: center;
        padding: 10px 0;
    }

    .nav-buttons {
        padding-bottom: 10px;
    }

    .hamburger {
        display: flex;
    }
    .slider-container {
        display:none;
    }
}
.why-techcalci{
    background:#2c3e50;
    padding:80px 20px;
    color:white;
    text-align:center;
}

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

.section-title{
    font-size:38px;
    font-weight:700;
    margin-bottom:10px;
}

.section-subtitle{
    opacity:0.8;
    margin-bottom:50px;
}

.features-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

.feature-card{
    background:rgba(255,255,255,0.08);
    backdrop-filter:blur(10px);
    border-radius:12px;
    padding:30px 20px;
    transition:all 0.4s ease;
    position:relative;
    overflow:hidden;
}

.feature-card:hover{
    transform:translateY(-10px) scale(1.03);
    background:rgba(255,255,255,0.15);
}

.feature-card .icon{
    font-size:40px;
    margin-bottom:15px;
    animation:float 3s ease-in-out infinite;
}

.feature-card h3{
    margin-bottom:10px;
    font-size:20px;
}

.feature-card p{
    font-size:15px;
    opacity:0.85;
}

/* floating animation */

@keyframes float{
    0%{transform:translateY(0px);}
    50%{transform:translateY(-8px);}
    100%{transform:translateY(0px);}
}

/* responsive */

@media(max-width:768px){

.section-title{
    font-size:28px;
}

.feature-card{
    padding:25px 15px;
}

}
.newsletter-section{
    background:#ffffff;
    padding:80px 20px;
    text-align:center;
}

.newsletter-container{
    max-width:700px;
    margin:auto;
}

.newsletter-container h2{
    font-size:34px;
    margin-bottom:15px;
    color:#2c3e50;
}

.newsletter-container p{
    color:#555;
    margin-bottom:30px;
    line-height:1.6;
}

.newsletter-form{
    display:flex;
    justify-content:center;
    gap:10px;
    flex-wrap:wrap;
}

.newsletter-form input{
    padding:14px 18px;
    border:1px solid #ddd;
    border-radius:6px;
    width:300px;
    font-size:15px;
    transition:0.3s;
}

.newsletter-form input:focus{
    outline:none;
    border-color:#2c3e50;
    box-shadow:0 0 6px rgba(44,62,80,0.2);
}

.newsletter-form button{
    padding:14px 24px;
    background:#2c3e50;
    color:white;
    border:none;
    border-radius:6px;
    font-size:15px;
    cursor:pointer;
    transition:0.3s;
}

.newsletter-form button:hover{
    background:#1a252f;
    transform:translateY(-2px);
}

/* responsive */

@media (max-width:600px){

.newsletter-form{
    flex-direction:column;
}

.newsletter-form input{
    width:100%;
}

.newsletter-form button{
    width:100%;
}

}
.calculator-section{
    padding:80px 20px;
    background:#f8fafc;
}

.section-header{
    text-align:center;
    max-width:700px;
    margin:auto;
    margin-bottom:50px;
}

.section-header h2{
    font-size:36px;
    color:#2c3e50;
    margin-bottom:10px;
}

.section-header p{
    color:#666;
    font-size:16px;
}

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

.calculator-card{
    background:white;
    border-radius:14px;
    padding:30px 25px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    transition:all 0.35s ease;
    position:relative;
}

.calculator-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 45px rgba(0,0,0,0.12);
}

.card-icon{
    font-size:40px;
    margin-bottom:15px;
}

.calculator-card h3{
    font-size:20px;
    margin-bottom:10px;
    color:#2c3e50;
}

.calculator-card p{
    font-size:14px;
    color:#666;
    margin-bottom:20px;
}

.calculator-card a{
    display:inline-block;
    padding:10px 22px;
    background:#2c3e50;
    color:white;
    text-decoration:none;
    border-radius:6px;
    font-size:14px;
    transition:0.3s;
}

.calculator-card a:hover{
    background:#1abc9c;
}

.viewAll{
    text-align:center;
    margin-top:40px;
}

.viewAll a{
    background:#2c3e50;
    color:white;
    padding:12px 25px;
    border-radius:30px;
    text-decoration:none;
    font-size:14px;
    transition:0.3s;
}

.viewAll a:hover{
    background:#1abc9c;
}
.categories-section{
    background:#2c3e50;
    padding:80px 20px;
    color:white;
    text-align:center;
}

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

.categories-title{
    font-size:36px;
    margin-bottom:10px;
}

.categories-subtitle{
    opacity:0.85;
    margin-bottom:50px;
}

.categories-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:25px;
}

.category-card{
    background:rgba(255,255,255,0.08);
    backdrop-filter:blur(8px);
    border-radius:12px;
    padding:30px 20px;
    transition:0.4s;
}

.category-card:hover{
    transform:translateY(-8px);
    background:rgba(255,255,255,0.15);
}

.category-icon{
    font-size:40px;
    margin-bottom:15px;
}

.category-card h3{
    font-size:20px;
    margin-bottom:10px;
}

.category-card p{
    font-size:14px;
    opacity:0.85;
}
.featured-calculators{
background:#ffffff;
padding:80px 20px;
text-align:center;
}

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

.featured-heading{
font-size:36px;
color:#2c3e50;
margin-bottom:10px;
}

.featured-subheading{
color:#666;
margin-bottom:50px;
}

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

.featured-card{
background:#f8fafc;
padding:35px 25px;
border-radius:12px;
box-shadow:0 10px 25px rgba(0,0,0,0.08);
transition:0.3s;
}

.featured-card:hover{
transform:translateY(-8px);
box-shadow:0 20px 45px rgba(0,0,0,0.12);
}

.featured-card i{
font-size:40px;
color:#1abc9c;
margin-bottom:15px;
}

.featured-card h3{
font-size:20px;
margin-bottom:10px;
color:#2c3e50;
}

.featured-card p{
font-size:14px;
color:#666;
margin-bottom:20px;
}

.calc-btn{
display:inline-block;
padding:10px 22px;
background:#2c3e50;
color:white;
text-decoration:none;
border-radius:6px;
font-size:14px;
transition:0.3s;
}

.calc-btn:hover{
background:#1abc9c;
}