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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    overflow-x: hidden;
}
/* Modal */
.modal{
    display:none;
    position:fixed;
    inset:0;
    z-index:999;
}

.modal.active{
    display:block;
}

.modal-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.45);
}

.modal-content{
    position:relative;
    max-width:420px;
    margin:8% auto;
    background:rgba(255,255,255,0.85);
    backdrop-filter:blur(18px);
    padding:30px;
    border-radius:18px;
    box-shadow:0 30px 80px rgba(0,0,0,.25);
    text-align:center;
}

.modal-content h3{
    margin-bottom:8px;
    color:#1c2b3a;
}

.modal-content p{
    font-size:14px;
    color:#5b6b7a;
    margin-bottom:20px;
}

.modal-content input,
.modal-content textarea{
    width:100%;
    padding:12px 14px;
    border-radius:10px;
    border:1px solid #dde7f0;
    margin-bottom:12px;
    font-size:14px;
}

.modal-content textarea{
    min-height:100px;
    resize:none;
}

.modal-content button{
    width:100%;
    padding:12px;
    border:none;
    border-radius:12px;
    background:linear-gradient(90deg,#26bfff,#6fdcff);
    color:white;
    font-weight:600;
    cursor:pointer;
}

.modal-close{
    position:absolute;
    top:12px;
    right:14px;
    background:none;
    border:none;
    font-size:24px;
    cursor:pointer;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(180deg, #c5d3e8 0%, #a8b9d3 50%, #8ba0c4 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    position: relative;
    z-index: 1;
}

.hero-left {
    flex: 1;
}

.hero-left h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-left p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 30px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #2c3e50;
    border: 2px solid #2c3e50;
}

.btn-secondary:hover {
    background: #2c3e50;
    color: white;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-container {
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#logoCanvas {
    position: absolute;
    top: 0;
    left: 0;
}

.logo-text {
    position: relative;
    z-index: 10;
    text-align: center;
}

.logo-main {
    font-size: 4rem;
    font-weight: 900;
    color: white;
    text-shadow: 0 0 30px rgba(52, 152, 219, 0.8),
                 0 0 60px rgba(52, 152, 219, 0.6);
    letter-spacing: 5px;
}

.logo-sub {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    letter-spacing: 8px;
    margin-top: 5px;
    text-shadow: 0 0 20px rgba(52, 152, 219, 0.6);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: white;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 60px;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
    padding: 40px 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

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

.service-icon {
    margin: 0 auto 25px;
    display: block;
}

.service-card h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    color: #7f8c8d;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Why Section */
.why-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8f9fb 0%, #e8eef5 100%);
}

.why-content {
    display: flex;
    align-items: center;
    gap: 80px;
}

.why-left {
    flex: 1;
}

.why-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    background: white;
    padding: 20px 25px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
}

.check-icon {
    width: 30px;
    height: 30px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.why-item p {
    color: #2c3e50;
    font-size: 1.05rem;
}

.why-right {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.laptop-mockup {
    width: 450px;
    background: #2c3e50;
    border-radius: 10px 10px 0 0;
    padding: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

.laptop-screen {
    background: white;
    border-radius: 5px;
    padding: 80px 40px;
    text-align: center;
}

.laptop-screen h3 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 700;
}

.laptop-screen p {
    color: #7f8c8d;
    font-size: 1.1rem;
}

.laptop-base {
    width: 500px;
    height: 15px;
    background: linear-gradient(to bottom, #2c3e50, #1a252f);
    margin: 0 auto;
    border-radius: 0 0 5px 5px;
    position: relative;
    left: -25px;
}

#cubeCanvas {
    position: absolute;
    right: -50px;
    bottom: -50px;
    z-index: 1;
}

/* Projects Section */
.projects {
    padding: 100px 0;
    background: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
    padding: 60px 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

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

.project-card h3 {
    font-size: 2rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.project-card p {
    color: #7f8c8d;
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.project-btn {
    padding: 12px 30px;
    background: transparent;
    color: #2c3e50;
    border: 2px solid #2c3e50;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.project-btn:hover {
    background: #2c3e50;
    color: white;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
}

.contact-btn {
    padding: 20px 45px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.contact-btn:hover {
    background: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.contact-btn .icon {
    font-size: 1.5rem;
}

/* Footer */
footer {
    background: #2c3e50;
    padding: 50px 0 30px;
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.footer-logo-text {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 3px;
}

.footer-logo-sub {
    font-size: 1rem;
    letter-spacing: 5px;
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-left h1 {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-content {
        flex-direction: column;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-left h1 {
        font-size: 2rem;
    }
    
    .logo-container {
        width: 350px;
        height: 350px;
    }
    
    .logo-main {
        font-size: 2.5rem;
    }
    
    .logo-sub {
        font-size: 1.3rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
	
}
.tech-visual{
    position:relative;
    width:420px;
    height:320px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.glass-card{
    background:rgba(255,255,255,0.7);
    backdrop-filter:blur(16px);
    border-radius:16px;
    padding:20px;
    box-shadow:0 20px 40px rgba(0,0,0,.12);
    position:relative;
    z-index:2;
}

.glass-card.small{
    padding:16px;
}

.glass-card h4{
    font-size:15px;
    color:#1c2b3a;
    margin-bottom:8px;
}

.glass-card p,
.glass-card small{
    color:#5b6b7a;
    font-size:13px;
}

.progress{
    width:100%;
    height:8px;
    background:#e4edf5;
    border-radius:10px;
    overflow:hidden;
    margin:12px 0;
}

.progress span{
    display:block;
    height:100%;
    background:linear-gradient(90deg,#26bfff,#6fdcff);
    border-radius:10px;
}

.grid-bg{
    position:absolute;
    inset:0;
    background:
      linear-gradient(rgba(38,191,255,.08) 1px, transparent 1px),
      linear-gradient(90deg, rgba(38,191,255,.08) 1px, transparent 1px);
    background-size:20px 20px;
    border-radius:20px;
    z-index:1;
}