/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Inter:wght@400;500;600&display=swap');




/*VK Code*/

.fileListname{
	width: 100%; display: none; flex-direction: column; gap: 10px;
}
.control-input{
	width: 100px; cursor: pointer;
}
.statusmsg1{
	text-align: center; margin-top: 15px; display: none; font-weight: 500;
}
.img-file-names{
	font-size: 0.8rem; color: var(--text-muted); margin-top: 10px;
}

.image-workspace img {
	display: none;
}

.file-upload-label i{
	font-size: 48px; margin-bottom: 20px;
}

.tool-p{
	color: var(--text-muted); font-size: 0.9rem; margin-top: 10px;
}

.tool-header .fa-solid
{
	font-size: 40px; color: var(--secondary-color); margin-bottom: 20px;


}
.file-upload-label .fa-solid{
	font-size: 48px; margin-bottom: 20px;
}

.file-upload-label-p{
	font-size: 0.8rem; color: var(--text-muted); margin-top: 10px;
}

.file-input canvas{
	display: none;
}

.image-workspace{
	flex-direction: column; min-height: 300px;
}
.previewcon{
	display: none; width: 100%; text-align: center;
}
.previewImagecon{
	max-height: 400px; max-width: 100%; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.previewImagecondiv{
	margin-top: 20px; display: flex; justify-content: center; gap: 40px;
}

/*.stat-label{
	color: var(--accent-color);
}

.stat-value{
	color: var(--accent-color);
}
*/
.control-panel{
	display: none; flex-direction: column; align-items: center;
}

.control-panel1{
	display: none;
}

.control-group{
	width: 100%; max-width: 500px; display: flex; flex-direction: column; gap: 10px;
}
.control-groupdiv{
	display: flex; justify-content: space-between; color: var(--text-muted);
}

.control-group input{
	width: 100%; cursor: pointer;
}

.control-groupdiv1{
	text-align: center; font-weight: 600; color: white;
}

.control-div{
	margin-top: 20px; display: flex; gap: 15px;
}

 .pricing-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }

        .pricing-card {
            background: var(--card-bg);
            border: var(--glass-border);
            padding: 40px;
            border-radius: 20px;
            text-align: center;
            transition: var(--transition);
            backdrop-filter: blur(10px);
            position: relative;
            overflow: hidden;
        }

        .pricing-card:hover {
            transform: translateY(-10px);
            box-shadow: var(--shadow-lg);
            border-color: var(--secondary-color);
        }

        .price-tag {
            font-size: 3.5rem;
            font-weight: 700;
            color: white;
            margin: 20px 0;
            font-family: 'Outfit', sans-serif;
        }

        .price-per {
            font-size: 1rem;
            color: var(--text-muted);
            font-weight: 400;
        }

        .plan-name {
            color: var(--accent-color);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 10px;
        }

        .plan-features {
            text-align: left;
            margin: 30px 0;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 30px;
        }

        .plan-features li {
            margin-bottom: 15px;
            color: var(--text-light);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .plan-features li i {
            color: var(--secondary-color);
        }
        
        .price_p{
           color: var(--text-muted);
        }
        .fee_box{
            margin-top: 20px; padding: 10px 20px; background: rgba(59, 130, 246, 0.1); display: inline-block; border-radius: 50px; border: 1px solid rgba(59, 130, 246, 0.3);
        }

/* Dropdown Menu */
.nav-item {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-menu {
    position: absolute;
    top: 140%;
    left: 0;
    min-width: 180px;
    background: rgba(15, 23, 42, 0.98);
    border: var(--glass-border);
    border-radius: 12px;
    padding: 10px 0;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(15px);

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1000;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.dropdown-menu li a:hover {
    color: white;
    background: rgba(59, 130, 246, 0.15);
}


.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        background: transparent;
        box-shadow: none;
        border: none;
        padding-left: 15px;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
}

        
.banner_about{
  width:100%;
  background-image:linear-gradient(95deg, #1c1b1ba1, rgb(0 0 0 / 13%)), url("images/bg1.jpg"); 
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center;
  position:relative;
}

.banner_about{
  width:100%;
  background-image:linear-gradient(95deg, #1c1b1ba1, rgb(0 0 0 / 13%)), url("images/bg1.jpg"); 
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center;
  position:relative;
}

.banner{
  display:flex;
  justify-content:center;
  align-items:center;  
  
}
.banner h1{
    font-size: 3rem;
}
.banner p{
    color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto;
}
.content{
  padding:165px;
  color:#fff;
  text-align:center; 
}

@media (max-width: 768px) {
            .content{
  padding:135px;
  color:#fff;
  text-align:center; 
}
        }


/**/

 .form-container {
            background: var(--card-bg);
            border: var(--glass-border);
            padding: 40px;
            border-radius: 20px;
            backdrop-filter: blur(10px);
            max-width: 800px;
            margin: 0 auto;
        }

        .form-group {
            margin-bottom: 24px;
        }

        .form-label {
            display: block;
            margin-bottom: 8px;
            color: var(--text-light);
            font-weight: 500;
        }

        .form-input,
        .form-select,
        .form-textarea {
            width: 100%;
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 12px 16px;
            border-radius: 8px;
            color: white;
            font-family: inherit;
            font-size: 1rem;
            transition: var(--transition);
        }

        .form-input:focus,
        .form-select:focus,
        .form-textarea:focus {
            outline: none;
            border-color: var(--secondary-color);
            background: rgba(0, 0, 0, 0.5);
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        @media (max-width: 768px) {
            .form-row {
                grid-template-columns: 1fr;
            }
        }

.form-h3{
    margin-bottom: 20px; color: var(--accent-color); border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px;
}
.bnt-submit{
width: 100%; max-width: 300px; font-size: 1.1rem;
}
.bnt-submit-p{
margin-top: 15px; font-size: 0.85rem; color: var(--text-muted);
}

#scrollTopBtn {
    position: fixed;
    bottom: 25px;     /* Bottom */
    right: 25px;      /* Right */
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;

    background: linear-gradient(135deg, #2f5bea, #00b3ff);
    color: #ffffff;
    font-size: 22px;
    cursor: pointer;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

#scrollTopBtn.show {
    opacity: 1;
    visibility: visible;
}

#scrollTopBtn:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #1e3fbf, #0091d9);
}



.logo img{
    width: 50px;
    height: 50px;
}
.footer-logo1{
    width: 50px;
    height: 50px;
}
.services-text h2{
    font-size: 2.5rem; margin-bottom: 20px;
}


.services-text p{
    color: var(--text-muted); max-width: 600px; margin: 0 auto;
}

.service-card .mail-card{
    width: 64px; height: 64px; background: rgba(6, 182, 212, 0.2); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px;

}

.mail-card i{
    font-size: 32px; color: var(--accent-color);
}

.hero-badge-h2{
font-size: 2.5rem; margin-bottom: 24px;
}

.hero-badge p{
color: var(--text-muted); margin-bottom: 24px; font-size: 1.1rem;
}

.about-section .global-icon{
    display: flex; gap: 20px; flex-wrap: wrap; margin-bottom: 30px;
}

.about-section .global-icon span{
   background: rgba(255,255,255,0.05); padding: 8px 16px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.1);
}
.tool-container{
max-width: 1200px;
}



.hub-card p {
    color: var(--text-muted); font-size: 0.9rem; margin-top: 10px;
}

.hub-card .btn-outline {
   margin-top: 15px; width: 100%;
}

.hub-card .hub-icon p{
    color: var(--text-muted); font-size: 0.9rem; margin-top: 10px;
}
.tool-header p{
    color: var(--text-muted);
}

 .split-container {
            display: grid;
            grid-template-columns: 1.4fr 0.6fr;
            gap: 60px;
            align-items: start;
        }

        .contact-column {
            background: var(--card-bg);
            border: var(--glass-border);
            padding: 40px;
            border-radius: 20px;
            backdrop-filter: blur(10px);
        }

        .content-column {
            color: var(--text-color);
        }

        .content-column h2 {
            font-size: 2.5rem;
            margin-bottom: 20px;
            margin-top:50px;
            color: var(--secondary-color);
          background: var(--gradient);
              
             /* -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            */
        }
       

        .content-column h3 {
            font-size: 2rem;
            margin: 30px 0 15px;
            color: var(--secondary-color);

            margin-bottom: 20px;
        }

         .contact-column h3{
            margin-bottom: 20px; color: var(--accent-color);
        }

        .content-column p {
            margin-bottom: 15px;
            line-height: 1.8;
            color: var(--text-muted);
        }

        .content-column ul {
            list-style: none;
            padding: 0;
            margin-bottom: 20px;
        }

        .content-column li {
            margin-bottom: 10px;
            color: var(--text-light);
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }

        .content-column li i {
            color: var(--accent-color);
            padding-top: 5px;
        }

        .form-group {
            margin-bottom: 20px;
           

        }

        .form-label {
            display: block;
            margin-bottom: 8px;
            color: var(--text-light);
            font-weight: 500;
        }

        .form-input,
        .form-textarea {
            width: 100%;
            background: rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(255, 255, 255, 0.1);
            padding: 12px 16px;
            border-radius: 8px;
            color: white;
            font-family: inherit;
            font-size: 1rem;
            transition: var(--transition);
        }

        .form-input:focus,
        .form-textarea:focus {
            outline: none;
            border-color: var(--secondary-color);
            background: rgba(0, 0, 0, 0.5);
        }

        @media (max-width: 900px) {
            .split-container {
                grid-template-columns: 1fr;
            }
        }


/*VK Code end*/
:root {
    /* Color Palette */
    --primary-color: #0f172a;
    /* Deep Navy */
    --secondary-color: #3b82f6;
    /* Vibrant Blue */
    --accent-color: #06b6d4;
    /* Cyan/Teal */
    --dark-bg: #020617;
    /* Very Dark Blue (Background) */
    --card-bg: rgba(30, 41, 59, 0.7);
    /* Glassmorphism Card */
    --text-light: #f8fafc;
    --text-muted: #94a3b8;
    --gradient-main: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    --gradient-dark: linear-gradient(to bottom, #0f172a, #020617);

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 60px;
    --section-spacing: 10px;

    /* Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 0 20px rgba(59, 130, 246, 0.3);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: #fff;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 18px;
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section {
    padding: var(--section-spacing) 0;
    position: relative;
    overflow: hidden;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.6);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: white;
}

.btn-outline:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--accent-color);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
    /* Start transparent */
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: var(--shadow-sm);
    border-bottom: var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
    color: white;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    /* Ensure it's above the menu */
}

/* Tool Page Specifics */
.tool-container {
    max-width: 1200px;
    margin: 60px auto 60px;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 24px;
    border: var(--glass-border);
    backdrop-filter: blur(10px);
}

.tool-header {
    text-align: center;
    margin-bottom: 30px;
}

.tool-textarea {
    width: 100%;
    height: 200px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    color: var(--text-light);
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    margin-bottom: 20px;
}

.tool-textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.tool-controls {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tool-results {
    background: rgba(0, 0, 0, 0.2);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-box {
    display: inline-block;
    margin-right: 24px;
    margin-bottom: 12px;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--header-height);
    background: var(--dark-bg);
}

.hero-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background-image: url('images/hero-bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.8;
    z-index: 0;
    mask-image: linear-gradient(to left, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to left, black 60%, transparent 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: var(--secondary-color);
    filter: blur(200px);
    opacity: 0.2;
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 30px;
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.service-card {
    background: var(--card-bg);
    border: var(--glass-border);
    padding: 40px;
    border-radius: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: var(--shadow-lg);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    object-fit: contain;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-desc {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-light);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.feature-list li i {
    color: var(--accent-color);
}

/* About Section */
.about-section {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: var(--glass-border);
}

/* Global Reach & Stats */
.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 60px;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 30px;
    border: var(--glass-border);
    margin-bottom: 120px;
    backdrop-filter: blur(10px);
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-weight: 700;
}

.stat-item p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-main);
    border-radius: 30px;
    padding: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-btn {
    background: white;
    color: var(--primary-color);
    margin-top: 30px;
}

.cta-btn:hover {
    background: #f1f5f9;
    color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background: #020617;
    padding-top: 80px;
    border-top: var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    display: block;
}

.footer-info {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.footer-links h4 {
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: var(--text-muted);
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-bottom {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

/* Responsive */
@media (max-width: 1024px) {
    :root {
        --container-width: 90%;
    }

    .hero-title {
        font-size: 3rem;
    }

    .about-section {
        flex-direction: column;
    }

    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 100px 40px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 24px;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links .btn {
        width: 100%;
        text-align: center;
    }

    .hero {
        padding-top: 120px;
        text-align: center;
    }

    .hero-bg {
        width: 100%;
        opacity: 0.3;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 10px;
}
    
    .tool-container {
    margin: 60px auto 60px;
    background: var(--card-bg);
    padding:8px;
    border-radius: 24px;
    border: var(--glass-border);
    backdrop-filter: blur(10px);
    }
    
    .hub-card {
    background: var(--card-bg);
    border: var(--glass-border);
    padding:20px;
    border-radius: 20px;
    margin:20px;
    text-align: center;
    transition: var(--transition);
    text-decoration: none;
    display: block;
    backdrop-filter: blur(10px);

    }
    .stat-item h3 {
        font-size:1.6rem;
        color: var(--secondary-color);
        margin-bottom: 8px;
        font-weight: 700;
    }
}

/* Image Tool Hub */
.hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.hub-card {
    background: var(--card-bg);
    border: var(--glass-border);
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    text-decoration: none;
    display: block;
    backdrop-filter: blur(10px);
}



.hub-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: rgba(30, 41, 59, 0.9);
}

.hub-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* Image Workspaces */
.image-workspace {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.image-workspace canvas,
.image-workspace img {
    max-width: 100%;
    max-height: 60vh;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    display: block;
}

.file-upload-label {
    cursor: pointer;
    text-align: center;
    padding: 40px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.file-upload-label:hover {
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.02);
}

.file-input {
    display: none;
}

/* Controls */
.control-panel {
    background: var(--card-bg);
    padding: 24px;
    border-radius: 16px;
    border: var(--glass-border);
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.control-input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    width: 80px;
}

.page-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 0;
    mask-image: linear-gradient(to bottom, black 20%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 20%, transparent 100%);
    pointer-events: none;
}

@media (max-width: 768px) {
    .page-bg {
        height: 300px;
        opacity: 0.2;
    }
}