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

/* Color Variables */
:root {
    /* Primary Colors */
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --primary-light: #667eea;
    --primary-dark: #764ba2;
    
    /* Secondary Colors */
    --secondary-gradient: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    --secondary-light: #ff6b6b;
    --secondary-dark: #ee5a52;
    
    /* Accent Colors */
    --accent-blue: #3498db;
    --accent-cyan: #00d2d3;
    --accent-green: #54a0ff;
    --accent-orange: #ff9f43;
    
    /* Neutral Colors */
    --bg-light: #f8f9fe;
    --bg-white: #ffffff;
    --text-primary: #2c3e50;
    --text-secondary: #34495e;
    --text-muted: #7f8c8d;
    --border-light: #e9ecef;
    --border-medium: #dee2e6;
    
    /* Shadows */
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 15px 50px rgba(0, 0, 0, 0.2);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
    }
}

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

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Delay animations for staggered effect */
.reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.reveal:nth-child(4) {
    transition-delay: 0.3s;
}

.reveal:nth-child(5) {
    transition-delay: 0.4s;
}
body, html {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-light);
    font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Hierarchy */
h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.75rem);
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

h4 {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    font-weight: 600;
    line-height: 1.4;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

p {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

a {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    color: var(--primary-light);
}

a:hover {
    color: var(--primary-dark);
}

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

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo h1 {
    font-size: clamp(1.2rem, 3vw, 1.75rem);
    color: var(--text-primary);
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0;
    transition: opacity 0.3s ease;
}

.logo h1:hover {
    opacity: 0.9;
}

/* Menu Toggle Button */
.menu-toggle {
    display: none;
    background: var(--primary-gradient);
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    z-index: 1001;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: var(--transition);
}

.menu-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.menu-toggle:active {
    transform: scale(0.95);
}

.menu-icon {
    display: block;
    width: 20px;
    height: 2px;
    background-color: #fff;
    position: relative;
    transition: background-color 0.3s ease;
}

.menu-icon:before,
.menu-icon:after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.menu-icon:before {
    top: -6px;
}

.menu-icon:after {
    top: 6px;
}

/* Nav Links */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: clamp(0.9rem, 2vw, 1rem);
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
    border-radius: 3px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-light);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    z-index: 0;
}

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

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: var(--primary-gradient);
    color: #fff;
    padding: 1.1rem 2.2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.5);
}

.cta-button:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.hero-image {
    margin-top: 3rem;
    max-width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* About Section */
.about {
    padding: 4rem 0;
    background-color: #fff;
}

.about h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.8) 100%);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(102, 126, 234, 0.2);
}

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

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.card p {
    margin-bottom: 1.5rem;
    color: #555;
}

.card-link {
    display: inline-block;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.card-link:hover {
    color: #2980b9;
}

/* Education Section */
.education {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.education::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect x="0" y="0" width="100" height="100" fill="none" stroke="rgba(102,126,234,0.03)" stroke-width="1"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.education h2 {
    text-align: center;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 3.5rem;
    color: #2c3e50;
    position: relative;
    padding-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.education h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

.education-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.education-text {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 249, 250, 0.9) 100%);
    padding: 3.5rem;
    border-radius: 24px;
    box-shadow: 
        0 10px 35px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(102, 126, 234, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.education-text:hover {
    transform: translateY(-8px) translateZ(0);
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.18),
        0 0 0 1px rgba(102, 126, 234, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-color: rgba(102, 126, 234, 0.3);
}

.education-text h3 {
    font-size: clamp(1.4rem, 2.2vw, 1.9rem);
    margin-bottom: 1.8rem;
    color: #2c3e50;
    position: relative;
    padding-bottom: 1rem;
    display: inline-block;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.education-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.25);
}

.education-text h3:hover::after {
    width: 90px;
}

.education-text p {
    margin-bottom: 2.2rem;
    color: #495057;
    line-height: 1.9;
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    position: relative;
    z-index: 1;
    padding-left: 25px;
    border-left: 3px solid transparent;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.08) 0%, transparent 60px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 400;
    letter-spacing: -0.01em;
}

.education-text:hover p {
    border-left-color: rgba(102, 126, 234, 0.4);
    padding-left: 28px;
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.12) 0%, transparent 60px);
}

.education-text p::first-letter {
    font-size: 1.4em;
    font-weight: 600;
    color: #667eea;
    margin-right: 2px;
}

.education-text p:last-child {
    margin-bottom: 0;
}

.education-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.2),
        0 0 0 3px rgba(255, 255, 255, 0.9),
        0 0 0 4px rgba(102, 126, 234, 0.1);
    transition: var(--transition);
    position: relative;
    background: rgba(255, 255, 255, 0.1);
}

.education-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
    z-index: 1;
    pointer-events: none;
    opacity: 0.7;
}

.education-image:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 30px 70px rgba(0, 0, 0, 0.3),
        0 0 0 3px rgba(255, 255, 255, 0.9),
        0 0 0 4px rgba(102, 126, 234, 0.2);
}

.education-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    object-fit: cover;
    filter: brightness(1) contrast(1) saturate(1);
}

.education-image:hover img {
    transform: scale(1.08) rotate(1deg);
    filter: brightness(1.05) contrast(1.02) saturate(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .education-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .education-text {
        padding: 2.5rem;
    }
    
    .education-image {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .education {
        padding: 3rem 0;
    }
    
    .education-text {
        padding: 1.8rem 1.5rem;
    }
    
    .education-text h3 {
        font-size: clamp(1.3rem, 5vw, 1.5rem);
        margin-bottom: 1.5rem;
    }
    
    .education-text p {
        font-size: clamp(0.95rem, 4vw, 1.1rem);
        padding-left: 20px;
        margin-bottom: 1.8rem;
    }
    
    .education-text:hover p {
        padding-left: 22px;
    }
    
    .education-image {
        max-width: 100%;
        border-radius: 20px;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 4rem 0;
    background-color: #fff;
}

.testimonials h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.8) 100%);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(102, 126, 234, 0.1);
    font-family: Georgia, serif;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(102, 126, 234, 0.2);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.testimonial-card h4 {
    text-align: right;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.1);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-gradient);
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect x="0" y="0" width="100" height="100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    margin-bottom: 1.25rem;
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

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

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding-left: 15px;
    display: inline-block;
}

.footer-column a::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    opacity: 0;
    transition: var(--transition);
    transform: translateX(-5px);
}

.footer-column a:hover {
    color: var(--accent-blue);
    transform: translateX(3px);
}

.footer-column a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0.8;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-links {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
    }
    
    .footer-column h3 {
        font-size: 1.1rem;
    }
    
    .footer-column a {
        font-size: 0.9rem;
    }
}

/* Calculator Pages */
.calculator-container {
    max-width: 600px;
    margin: 3rem auto;
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
}

.calculator-container h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #fff;
    font-size: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.calculator-container p {
    text-align: center;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.input-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
}

.input-group input {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    font-size: 1.1rem;
    background-color: rgba(255, 255, 255, 0.95);
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.input-group input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.5);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2), 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.input-group input::placeholder {
    color: rgba(51, 51, 51, 0.5);
}

.calculate-button {
    width: 100%;
    background: var(--secondary-gradient);
    color: #fff;
    padding: 1.3rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.calculate-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.calculate-button:hover::before {
    left: 100%;
}

.calculate-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.5);
}

.calculate-button:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.calculate-button:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.3), 0 12px 35px rgba(255, 107, 107, 0.5);
}

.result {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    margin-top: 1.5rem;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
}

.result.show {
    opacity: 1;
    transform: translateX(0);
    animation: slideInRight 0.5s ease-out forwards;
}

.result h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    letter-spacing: 0.5px;
}

.result p {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.result .sub-result {
    font-size: 1.1rem;
    font-weight: 500;
    color: #764ba2;
    opacity: 0.9;
    margin-top: 0.5rem;
}

/* Page Container for About, Contact, Privacy, Terms */
.page-container {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-container h1 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.page-container h2 {
    color: #34495e;
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.page-container h3 {
    color: #555;
    margin: 1.5rem 0 1rem;
    font-size: 1.2rem;
}

.page-container p {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.8;
}

.page-container ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.page-container li {
    margin-bottom: 0.5rem;
    color: #555;
}

.page-container table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.page-container th,
.page-container td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.page-container th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

/* Contact Page */
.contact-info {
    text-align: center;
    margin: 3rem 0;
}

.contact-info h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.contact-info p {
    font-size: 1.2rem;
    color: #555;
}

/* Tool Guides Section */
.guides {
    padding: 4rem 0;
    background-color: #f8f9fa;
}

.guides h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.guide-article {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.8) 100%);
    padding: 3rem;
    margin-bottom: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

.guide-article:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(102, 126, 234, 0.2);
}

.guide-article h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    position: relative;
    padding-bottom: 0.75rem;
}

.guide-article h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.guide-article p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.guide-article ol {
    margin: 0 0 2rem 2rem;
    padding: 0;
}

.guide-article li {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 0.5rem;
}

.guide-article li strong {
    color: #2c3e50;
    font-weight: 600;
}

.guide-article li::marker {
    color: #667eea;
    font-weight: 600;
}

.guide-button {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    margin-top: 1rem;
    font-size: 0.95rem;
}

.guide-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.45);
    color: #fff;
}

.guide-button:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.3), 0 10px 30px rgba(102, 126, 234, 0.45);
}

/* Responsive Guides */
@media (max-width: 768px) {
    .guides {
        padding: 3rem 0;
    }
    
    .guide-article {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .guide-article h3 {
        font-size: 1.4rem;
    }
    
    .guide-article ol {
        margin-left: 1.5rem;
    }
    
    .guide-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .guide-article {
        padding: 1.5rem 1.2rem;
        margin: 0.8rem;
    }
    
    .guide-article h3 {
        font-size: 1.3rem;
    }
    
    .guide-article li {
        font-size: 0.95rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav {
        flex-direction: row;
        gap: 0;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 2rem 2rem;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 4px 0 25px rgba(0, 0, 0, 0.15);
        gap: 1.5rem;
        z-index: 1000;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin-left: 0;
        width: 100%;
    }
    
    .nav-links a {
        font-size: 1.1rem;
        font-weight: 500;
        color: #333;
        width: 100%;
        padding: 0.5rem 1rem;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .nav-links a:hover {
        background-color: rgba(102, 126, 234, 0.1);
        color: var(--accent-blue);
    }
    
    .nav-links a.active {
        background-color: rgba(102, 126, 234, 0.15);
        color: var(--accent-blue);
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .about-cards {
        grid-template-columns: 1fr;
    }
    
    .education-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .testimonial-cards {
        grid-template-columns: 1fr;
    }
    
    /* Calculator Responsive */
    .calculator-container {
        padding: 1.5rem;
        margin: 2rem 1rem;
    }
    
    .input-group input {
        padding: 1rem 1.2rem;
        font-size: 1rem;
    }
    
    .calculate-button {
        padding: 1.1rem 1.5rem;
        font-size: 1rem;
    }
    
    .result {
        padding: 2rem 1.5rem;
    }
    
    .result h3 {
        font-size: 1.1rem;
    }
    
    .result p {
        font-size: 1.8rem;
    }
    
    /* Table Responsive */
    .page-container table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        border-radius: 8px;
    }
    
    .page-container th,
    .page-container td {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }
    
    .about, .education, .testimonials {
        padding: 2rem 0;
    }
    
    .about h2, .education h2, .testimonials h2 {
        font-size: 1.5rem;
    }
    
    /* Enhanced Calculator Responsive */
    .calculator-container {
        padding: 1.5rem 1rem;
        margin: 1.5rem 0.8rem;
        border-radius: 16px;
    }
    
    .calculator-container h2 {
        font-size: 1.5rem;
    }
    
    .input-group {
        margin-bottom: 1.2rem;
    }
    
    .input-group label {
        font-size: 0.9rem;
    }
    
    .input-group input {
        padding: 0.9rem 1rem;
        font-size: 1rem;
        border-radius: 12px;
    }
    
    .calculate-button {
        padding: 1rem 1.2rem;
        font-size: 0.95rem;
        border-radius: 40px;
    }
    
    .result {
        padding: 1.5rem 1.2rem;
        border-radius: 12px;
    }
    
    .result h3 {
        font-size: 1rem;
    }
    
    .result p {
        font-size: 1.6rem;
    }
    
    .result .sub-result {
        font-size: 1rem;
    }
    
    /* Enhanced Page Container Responsive */
    .page-container {
        padding: 1.5rem 1rem;
        margin: 1.5rem 0.8rem;
        border-radius: 16px;
    }
    
    .page-container h1 {
        font-size: 1.8rem;
    }
    
    .page-container h2 {
        font-size: 1.3rem;
    }
    
    .page-container h3 {
        font-size: 1.1rem;
    }
    
    /* Enhanced Table Responsive */
    .page-container table {
        margin: 1.5rem -1rem;
        border-radius: 0;
    }
    
    .page-container th,
    .page-container td {
        padding: 0.7rem 0.9rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }
    
    /* Enhanced Contact Page */
    .contact-info {
        margin: 2rem 1rem;
        padding: 2rem 1rem;
    }
    
    .contact-info h2 {
        font-size: 1.5rem;
    }
    
    .contact-info p {
        font-size: 1.1rem;
    }
    
    /* Enhanced Footer */
    .footer-content {
        padding: 0 1rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-column h3 {
        font-size: 1.1rem;
    }
    
    .footer-column a {
        font-size: 0.9rem;
    }
}