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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #111;
    color: white;
    scroll-behavior: smooth;
}

/* Container for consistent spacing */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}
.action-buttons {
        margin: 40px 0;
        display: flex;
        justify-content: left;
        gap: 22px;
        align-items: right;
        flex-wrap: wrap;
        width: 100%;
        max-width: 600px;
}

.action-buttons a {
    text-decoration: none;
    display: inline-flex;
}
  
/* Blue filled button */
.btn-primary {
    background-color: rgb(0, 86, 97);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    width: 144px;
    text-align: center;
    justify-content: center;
}
  
/* White outline button */
.btn-outline {
    background-color: transparent;
    color: white;
    padding: 12px 25px;
    border: 2px solid white;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    width: 150px;
    text-align: center;
    justify-content: center;
}
  
  .btn-primary:hover {
    background-color: rgb(0, 213, 241);
    transform: scale(1.05);
  }
  
  /* Instagram button specific style */
.instagram-btn .btn-primary {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border: none;
}

.instagram-btn .btn-primary:hover {
    background: linear-gradient(45deg, #ff9a5a 0%, #f76b3c 25%, #e1306c 50%, #c13584 75%, #a6328d 100%);
    transform: scale(1.05);
}

.btn-outline:hover {
    background-color: white;
    color: #0f172a;
    transform: scale(1.05);
  }

/* Style the image */
#profile1 {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
    box-shadow: 0 0 15px rgba(0, 213, 241, 0.4);
    display: block;
    margin: 0 auto;
}
  
/* Glow effect on hover */
#profile1:hover {
    box-shadow: 0 0 25px rgba(0, 213, 241, 0.8), 
                0 0 40px rgba(0, 213, 241, 0.5);
    transform: scale(1.05);
}
  


/* Header Styles */
header {
    background: rgba(0, 0, 0, 0.92);
    color: white;
    padding: 1rem 0;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
    letter-spacing: 1px;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
}

#namesuhel {
    font-size: 2rem;
    font-weight: 500;
    color: rgb(0, 213, 241);
    margin: 0;
}
  
/* Navigation Styles */
nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav li {
    margin: 0;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

nav a:hover {
    color: rgb(0, 213, 241);
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 15px;
    }
    
    #namesuhel {
        font-size: 1.5rem;
    }
    
    nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
}
  
  nav ul li a {
    color: white;
    text-decoration: none;
    padding: 0 15px;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  nav ul li a:hover {
    color: #1af0ff;
    text-shadow: 0 0 8px #1af0ff;
  }
  
  /* Optional: a very subtle bottom glow line */
  header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background: linear-gradient(to right, #00f2ff, transparent, #00f2ff);
    opacity: 0.2;
  }
  

/* Home Section */
#home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 50vh;
    text-align: center;
    gap: 2rem;
    margin: 50px auto;
    width: 100%;
    border: #111;
}

/* About Section */
#about {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 50vh;
    text-align: center;
    gap: 2rem;
    margin: 80px auto;
    margin-bottom: 80px;
    width: 100%;
}

/* Project Section */
#project {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 50vh;
    text-align: center;
    gap: 2rem;
    margin: 40px auto;
    width: 100%;
}

/* Skills Section */
#skills {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 50vh;
    text-align: center;
    gap: 2rem;
    margin: 40px auto;
    width: 100%;
}

/* Services Section */
#services {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 50vh;
    text-align: right;
    gap: 2rem;
    margin: 40px auto;
    width: 100%;
}

/* Contact Section */
#contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 50vh;
    text-align: center;
    gap: 2rem;
    margin: 40px auto;
    width: 100%;
}

/* Remove HR lines - using section borders instead */

/* Skills Section with Glowing Effect */
#skils {
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    color: #ffffff;
    margin: 0px 10px;
    letter-spacing: 2px;
    text-transform: lowercase;
    
    /* Rectangle Box Styling */
    background: linear-gradient(135deg, rgba(0, 213, 241, 0.1), rgba(0, 86, 97, 0.2));
    border: 2px solid #00d5f1;
    border-radius: 15px;
    padding: 12px 83px;
    width: 80%;
    max-width: 800px;
    box-shadow: 
        0 0 20px rgba(0, 213, 241, 0.3),
        inset 0 0 20px rgba(0, 213, 241, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

/* Hero Section */
.hero-section {
    padding: 140px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
    margin-top: 0;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.profile-container {
    display: flex;
    justify-content: center;
}

.intro-text {
    text-align: left;
}

.intro-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.skills-highlight {
    margin: 20px 0;
    width: 100%;
    max-width: 600px;
}

.skills-highlight h3 {
    font-size: 1.1rem;
    font-weight: 400;
    color: #00d5f1;
    letter-spacing: 1px;
}

/* Content Sections */
.content-section {
    padding: 80px 0;
    margin: 0;
    position: relative;
    clear: both;
    min-height: auto;
    border-bottom: 1px solid rgba(0, 213, 241, 0.1);
}

.content-section:last-of-type {
    border-bottom: none;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: rgb(0, 213, 241);
    margin-bottom: 1rem;
}

.content-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.content-box p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #ccc;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

.project-card {
    background: rgba(0, 213, 241, 0.1);
    border: 1px solid rgba(0, 213, 241, 0.3);
    border-radius: 15px;
    padding: 3rem 2.5rem;
    margin: 1rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 213, 241, 0.2);
}

.project-card h3 {
    color: rgb(0, 213, 241);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.project-card p {
    color: #ccc;
    font-size: 1rem;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 4rem;
    padding: 2rem 1rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.skill-item {
    background: rgba(0, 86, 97, 0.2);
    border: 2px solid rgb(0, 86, 97);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    margin: 0.5rem;
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: white;
    transition: all 0.3s ease;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-item .skill-text {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 213, 241, 0.2);
    backdrop-filter: blur(5px);
}

.skill-item:hover {
    background: rgba(0, 213, 241, 0.2);
    border-color: rgb(0, 213, 241);
    color: rgb(0, 213, 241);
    transform: scale(1.05);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
    margin-bottom: 4rem;
    padding: 2rem 1rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: linear-gradient(135deg, rgba(0, 86, 97, 0.2) 0%, rgba(0, 213, 241, 0.1) 100%);
    border: 2px solid rgba(0, 213, 241, 0.3);
    border-radius: 15px;
    padding: 3rem 2rem;
    margin: 0.5rem;
    text-align: center;
    transition: all 0.3s ease;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 213, 241, 0.3);
    border-color: rgb(0, 213, 241);
    background: linear-gradient(135deg, rgba(0, 213, 241, 0.2) 0%, rgba(0, 86, 97, 0.3) 100%);
}

.service-card h3 {
    color: rgb(0, 213, 241);
    font-size: 1.4rem;
    font-weight: bold;
    margin: 0;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border: 1px solid rgba(0, 213, 241, 0.2);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.service-card:hover h3 {
    background: rgba(0, 213, 241, 0.1);
    border-color: rgb(0, 213, 241);
    transform: scale(1.05);
}

/* Contact Form */
.contact-container {
    max-width: 650px;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, rgba(0, 86, 97, 0.1) 0%, rgba(0, 213, 241, 0.05) 100%);
    border: 2px solid rgba(0, 213, 241, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 
                0 0 30px rgba(0, 213, 241, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 213, 241, 0.03), transparent);
    animation: shimmer 3s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(0%) translateY(0%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
    width: 96%;
    max-width: 650px;
    margin-bottom: -20px;
    padding: 16px 0;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.contact-form .form-group.full-width {
    grid-column: 1 / -1;
}

.contact-form label {
    color: rgb(0, 213, 241);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(0, 213, 241, 0.2);
    border-radius: 12px;
    padding: 1rem 1.3rem;
    color: white;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
    position: relative;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgb(0, 213, 241);
    background: rgba(0, 213, 241, 0.08);
    box-shadow: 0 0 25px rgba(0, 213, 241, 0.3),
                inset 0 0 20px rgba(0, 213, 241, 0.1);
    transform: translateY(-2px);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    transition: all 0.3s ease;
}

.contact-form input:focus::placeholder,
.contact-form textarea:focus::placeholder {
    color: rgba(0, 213, 241, 0.8);
    transform: translateY(-2px);
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
    font-family: inherit;
}

.contact-form button[type="submit"] {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgb(0, 86, 97) 0%, rgb(0, 213, 241) 100%);
    border: none;
    border-radius: 15px;
    padding: 1.8rem 3rem;
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

.contact-form button[type="submit"]:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 213, 241, 0.4);
    background: linear-gradient(135deg, rgb(0, 213, 241) 0%, rgb(0, 86, 97) 100%);
}

.contact-form button[type="submit"]:active {
    transform: translateY(-1px) scale(1.01);
}

.contact-form button[type="submit"]::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.6s;
}

.contact-form button[type="submit"]:hover::before {
    left: 100%;
}

/* Footer */
footer {
    background: #000;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(0, 213, 241, 0.2);
    margin-top: 100px;
    clear: both;
}

footer p {
    color: #ccc;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 120px 0 80px;
        min-height: auto;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .intro-text {
        text-align: center;
    }
    
    .intro-text h2 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 60px 0;
        margin: 0;
    }
    
    .projects-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    #profile1 {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 100px 0 60px;
    }
    
    .intro-text h2 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .project-card,
    .service-card {
        padding: 1.5rem;
    }
}

/* Add a subtle animated border glow */
#skils::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00d5f1, transparent, #00d5f1);
    border-radius: 10px;
    z-index: -1;
    animation: borderGlow 5s linear infinite;
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes glow {
    from {
        text-shadow: 
            0 0 5px #00d5f1,
            0 0 10px #00d5f1,
            0 0 15px #00d5f1,
            0 0 20px #00d5f1,
            0 0 35px #00d5f1,
            0 0 40px #00d5f1;
    }
    to {
        text-shadow: 
            0 0 2px #00d5f1,
            0 0 5px #00d5f1,
            0 0 8px #00d5f1,
            0 0 12px #00d5f1,
            0 0 18px #00d5f1,
            0 0 25px #00d5f1;
    }
}

/* Footer Styles */
footer {
    background: #111;
    color: white;
    text-align: center;
    padding: 1rem;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgb(0, 213, 241), rgb(0, 150, 200));
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 213, 241, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, rgb(0, 150, 200), rgb(0, 213, 241));
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 213, 241, 0.5);
}