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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #6366f1;
    font-size: 1.8rem;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #6366f1;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2a2a2a 100%);
    color: white;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.neural-network {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 70%, rgba(14, 165, 233, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 60% 30%, rgba(255, 89, 94, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 30% 90%, rgba(138, 43, 226, 0.2) 0%, transparent 40%);
    animation: neural-pulse 6s ease-in-out infinite;
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(3px 3px at 20px 30px, rgba(99, 102, 241, 0.8), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(168, 85, 247, 0.7), transparent),
        radial-gradient(4px 4px at 90px 40px, rgba(14, 165, 233, 0.6), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(3px 3px at 160px 30px, rgba(255, 89, 94, 0.7), transparent),
        radial-gradient(2px 2px at 200px 90px, rgba(138, 43, 226, 0.6), transparent);
    background-repeat: repeat;
    background-size: 250px 150px;
    animation: particle-dance 20s linear infinite;
}

@keyframes neural-pulse {
    0% { 
        opacity: 0.4;
        transform: scale(1);
    }
    25% { 
        opacity: 0.8;
        transform: scale(1.05);
    }
    50% { 
        opacity: 0.6;
        transform: scale(1.1) rotate(2deg);
    }
    75% { 
        opacity: 0.9;
        transform: scale(1.05) rotate(-1deg);
    }
    100% { 
        opacity: 0.4;
        transform: scale(1);
    }
}

@keyframes particle-dance {
    0% { 
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 1;
    }
    25% { 
        transform: translateY(-40px) translateX(20px) rotate(90deg);
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-80px) translateX(-10px) rotate(180deg);
        opacity: 0.6;
    }
    75% { 
        transform: translateY(-40px) translateX(-30px) rotate(270deg);
        opacity: 0.9;
    }
    100% { 
        transform: translateY(0px) translateX(0px) rotate(360deg);
        opacity: 1;
    }
}

.energy-waves {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(99, 102, 241, 0.1) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(168, 85, 247, 0.1) 50%, transparent 70%);
    background-size: 300% 300%;
    animation: wave-flow 15s ease-in-out infinite;
}

@keyframes wave-flow {
    0% { 
        background-position: 0% 0%, 100% 100%;
        opacity: 0.3;
    }
    25% { 
        background-position: 100% 50%, 0% 50%;
        opacity: 0.7;
    }
    50% { 
        background-position: 50% 100%, 50% 0%;
        opacity: 0.5;
    }
    75% { 
        background-position: 0% 50%, 100% 50%;
        opacity: 0.8;
    }
    100% { 
        background-position: 0% 0%, 100% 100%;
        opacity: 0.3;
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.hero-text {
    max-width: 900px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 0%, #6366f1 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-title .highlight {
    font-size: 5rem;
    color: #6366f1;
    text-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

.hero-title .main-text {
    font-size: 4rem;
    background: linear-gradient(135deg, #fff 0%, #e5e7eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .emphasis {
    font-size: 4.5rem;
    color: #a855f7;
    text-shadow: 0 0 40px rgba(168, 85, 247, 0.6);
    animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { text-shadow: 0 0 30px rgba(99, 102, 241, 0.5); }
    50% { text-shadow: 0 0 50px rgba(99, 102, 241, 0.8), 0 0 60px rgba(99, 102, 241, 0.6); }
}

@keyframes pulse-glow {
    0%, 100% { text-shadow: 0 0 40px rgba(168, 85, 247, 0.6); }
    50% { text-shadow: 0 0 60px rgba(168, 85, 247, 0.9), 0 0 80px rgba(168, 85, 247, 0.7); }
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    font-weight: 500;
    color: #e5e7eb;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    color: #9ca3af;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

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

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #6366f1;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.2);
}

.btn-secondary:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #f8fafc;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1f2937;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.service-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.ai-consulting-icon {
    font-size: 4rem;
    color: white;
    z-index: 1;
    position: relative;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.service-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.service-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #1f2937;
    font-weight: 700;
}

.service-content p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
    font-size: 1.1rem;
}

.service-btn {
    display: inline-block;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
}

.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

/* About Section */
.about {
    padding: 80px 0;
}

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

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.about-text p {
    margin-bottom: 2rem;
    color: #6b7280;
    line-height: 1.8;
    font-size: 1.1rem;
}

.profile-btn {
    display: inline-block;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    color: white;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.profile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.6);
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.05);
}

/* Profile Section */
.profile {
    padding: 80px 0;
    background: #f8fafc;
}

.profile h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1f2937;
}

.profile-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.profile-content > div {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.profile-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
    font-weight: 700;
    border-bottom: 3px solid #6366f1;
    padding-bottom: 0.5rem;
}

.profile-content ul {
    list-style: none;
    padding: 0;
}

.profile-content li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    color: #4b5563;
    line-height: 1.6;
}

.profile-content li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #6366f1;
    font-size: 0.8rem;
}

.current-work {
    grid-column: 1 / -1;
}

.current-work p {
    color: #4b5563;
    line-height: 1.8;
    font-size: 1.1rem;
    margin: 0;
}

/* Contact Section */
/* Lectures Section */
.lectures {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0e7ff 100%);
}

.lectures h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #1f2937;
    font-size: 2.5rem;
}

.youtube-playlist-container {
    max-width: 800px;
    margin: 0 auto 2rem auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.youtube-playlist-container iframe {
    width: 100%;
    height: 450px;
    border: none;
}

.youtube-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.video-container {
    flex: 1;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-slider {
    display: flex;
    transition: transform 0.3s ease;
    width: 100%;
}

.video-item {
    min-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

.video-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
    height: 100%;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.video-card.active {
    border: 3px solid #4f46e5;
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.3);
    transform: translateY(-3px);
}

.video-card.active .video-title {
    color: #4f46e5;
    font-weight: 700;
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.video-card:hover .play-button {
    background: rgba(255, 0, 0, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: 1rem;
}

.video-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-item iframe {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    aspect-ratio: 16/9;
}

.slider-btn {
    background: #4f46e5;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: #3730a3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.prev-btn {
    margin-right: 1rem;
}

.next-btn {
    margin-left: 1rem;
}

.contact {
    padding: 80px 0;
    background: #f8fafc;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1f2937;
}

.contact-content-center {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.contact-form-center {
    background: #fff;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.contact-item p {
    color: #6b7280;
    font-size: 1.1rem;
}

.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 1rem;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #6366f1;
}

.contact-form button {
    width: 100%;
    padding: 12px;
    background: #6366f1;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #4f46e5;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
}

.footer-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #60a5fa;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    align-items: center;
}

.contact-button-container {
    text-align: center;
    padding: 2rem;
}

.contact-button-container p {
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    overflow: hidden;
}

.social-link:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.social-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
    object-fit: cover;
    object-position: center;
}

.social-link:hover .social-icon {
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-title .highlight {
        font-size: 4rem;
    }
    
    .hero-title .main-text {
        font-size: 3.5rem;
    }
    
    .hero-title .emphasis {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2.8rem;
        gap: 0.3rem;
    }
    
    .hero-title .highlight {
        font-size: 3.2rem;
    }
    
    .hero-title .main-text {
        font-size: 2.8rem;
    }
    
    .hero-title .emphasis {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        padding: 14px 28px;
        font-size: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .profile-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    /* Lectures 모바일 최적화 */
    .lectures {
        padding: 3rem 0;
    }

    .lectures h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .youtube-playlist-container {
        margin: 0 1rem 2rem 1rem;
        border-radius: 10px;
    }

    .youtube-playlist-container iframe {
        height: 250px;
    }

    .youtube-slider {
        gap: 0.5rem;
        padding: 0 1rem;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .video-item {
        padding: 0 5px;
    }

    .video-title {
        font-size: 0.9rem;
    }

    .video-info {
        padding: 0.75rem;
    }

    .play-button {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-image {
        height: 180px;
    }

    .service-content {
        padding: 1.5rem;
    }

    .service-content h3 {
        font-size: 1.6rem;
    }

    .service-content p {
        font-size: 1rem;
    }

    .social-links {
        gap: 2rem;
    }

    .social-link {
        width: 50px;
        height: 50px;
        padding: 0.8rem;
    }

    .social-icon {
        width: 70px;
        height: 70px;
        object-fit: cover;
        object-position: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 80px 0 40px;
    }

    .hero-container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2.2rem;
        gap: 0.2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-title .highlight {
        font-size: 2.5rem;
    }
    
    .hero-title .main-text {
        font-size: 2.2rem;
    }
    
    .hero-title .emphasis {
        font-size: 2.4rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-content {
        gap: 2rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.95rem;
    }

    .floating-particles {
        background-size: 150px 75px;
    }


    .services h2,
    .about-text h2,
    .contact h2,
    .profile h2 {
        font-size: 2rem;
    }

    .profile-content {
        gap: 1.5rem;
    }

    .profile-content > div {
        padding: 1.5rem;
    }

    .profile-content h3 {
        font-size: 1.3rem;
    }

    .services-grid {
        gap: 1.5rem;
    }

    .service-image {
        height: 160px;
    }

    .service-content {
        padding: 1.2rem;
    }

    .service-content h3 {
        font-size: 1.4rem;
    }

    .service-content p {
        font-size: 0.95rem;
    }

    .service-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .social-links {
        gap: 1.5rem;
    }

    .social-link {
        width: 45px;
        height: 45px;
        padding: 0.6rem;
    }

    .social-icon {
        width: 60px;
        height: 60px;
        object-fit: cover;
        object-position: center;
    }
}

@media (max-width: 320px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-title .highlight {
        font-size: 2rem;
    }
    
    .hero-title .main-text {
        font-size: 1.8rem;
    }
    
    .hero-title .emphasis {
        font-size: 1.9rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}