/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

  
body {
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: #1a1a1a;
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.logo span {
    color: #008cff;
}

/* Modern Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-menu li {
    margin-left: 5px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.nav-link:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #008cff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover:before {
    width: 70%;
}

.nav-link:hover {
    color: #008cff;
}

.nav-btn {
    background-color: #008cff;
    color: white;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.4);
    display: inline-block;
}

.nav-btn:hover {
    background-color: #008cff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.4);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    height: 600px;
    background: linear-gradient(to bottom right, #008cff, #87CEEB), url('/api/placeholder/1200/600') center/cover no-repeat;
    background-blend-mode: overlay;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content {
    width: 100%;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background-color: #008cff;
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.4);
}

.btn:hover {
    background-color: #008cff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.4);
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: white;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #008cff;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    color: #777;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #f8f8f8;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}


.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img img {
    width: 600px;
    height: 500px;
    object-fit: cover;
    display: block;
    border-radius: 25px;
}


.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.about-text h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: #008cff;
}

.about-text p {
    margin-bottom: 15px;
    color: #555;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: white;
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background-color: #f8f8f8;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
}

.client-info {
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #ddd;
    margin-right: 15px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.client-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.client-details h4 {
    color: #333;
}

.client-details p {
    color: #777;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.contact-info h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #008cff;
}

.contact-info p {
    margin-bottom: 15px;
    color: #555;
}

.contact-method {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: #008cff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 102, 255, 0.4);
}

/* Modern Form Styles */
.contact-form {
  background-color: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.contact-form:hover {
  box-shadow: 0 20px 50px rgba(0, 140, 255, 0.15);
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #555;
  font-weight: 500;
  transition: all 0.3s;
}

.form-control {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #eaeaea;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s;
  background-color: #f9f9f9;
}

.form-control:focus {
  border-color: #008cff;
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(0, 140, 255, 0.1);
  outline: none;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 45px;
}

textarea.form-control {
  height: 140px;
  resize: vertical;
}

.submit-btn {
  background-color: #008cff;
  color: white;
  border: none;
  padding: 16px 35px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s;
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 25px rgba(0, 140, 255, 0.3);
}

.submit-btn:hover {
  background-color: #0070cc;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 140, 255, 0.4);
}

.submit-btn:active {
  transform: translateY(1px);
  box-shadow: 0 5px 15px rgba(0, 140, 255, 0.4);
}

/* Success Message Styling */
.success-message {
  display: none;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #008cff;
  color: white;
  padding: 16px 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  opacity: 0;
  animation: fadeInOut 5s ease-in-out forwards;
  font-weight: 500;
  max-width: 90%;
  text-align: center;
}

@keyframes fadeInOut {
  0% { opacity: 0; transform: translate(-50%, -20px); }
  15% { opacity: 1; transform: translate(-50%, 0); }
  85% { opacity: 1; transform: translate(-50%, 0); }
  100% { opacity: 0; transform: translate(-50%, -20px); }
}

/* Loading Button State */
.submit-btn.loading {
  background-color: #0070cc;
  pointer-events: none;
}

.submit-btn.loading .btn-text {
  visibility: hidden;
}

.submit-btn.loading::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 25px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Form validation styles */
.form-control.invalid {
  border-color: #ff3860;
  box-shadow: 0 0 0 4px rgba(255, 56, 96, 0.1);
}

.error-message {
  color: #ff3860;
  font-size: 0.85rem;
  margin-top: 7px;
  display: none;
}

.error-message.visible {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Fancy checkbox/radio styling if needed */
input[type="checkbox"], input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #008cff;
}

/* Date input styling */
input[type="date"] {
  padding-right: 15px;
}

/* Make form responsive */
@media screen and (max-width: 768px) {
  .contact-form {
    padding: 25px;
  }
  
  .submit-btn {
    padding: 14px 25px;
  }
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: white;
    position: relative;
    padding-bottom: 10px;
}

.footer-column h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #008cff;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #008cff;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #008cff;
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #aaa;
}

/* Modern Navigation and Button Styles */
nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s;
}

nav ul li a:not(.nav-btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #008cff;
    transition: width 0.3s;
}

nav ul li a:not(.nav-btn):hover::after {
    width: 100%;
}

.nav-btn {
    background-color: #008cff;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s;
}

.nav-btn:hover {
    background-color: white;
    color: #008cff;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 102, 255, 0.4);
}

/* Modern Button Styles */
.btn {
    display: inline-block;
    background-color: #008cff;
    color: white;
    padding: 14px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 2px solid #008cff;
}

.btn:hover {
    color: #008cff;
    background-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 102, 255, 0.4);
}

/* Contact Form Button */
.submit-btn {
    background-color: #008cff;
    color: white;
    border: none;
    padding: 14px 35px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    border: 2px solid #008cff;
    width: 100%;
}

.submit-btn:hover {
    background-color: transparent;
    color: #008cff;
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 102, 255, 0.4);
}

/* Modern Form Styles */
.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: #008cff;
    box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.4);
    outline: none;
}

/* Service Cards Enhancement */
.service-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.15);
}

/* Social Icons */
.social-icon {
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.2rem;
    border: 2px solid transparent;
}

.social-icon:hover {
    background-color: transparent;
    border-color: #008cff;
    color: #008cff;
    transform: translateY(-5px);
}

/* Portfolio Section */
.portfolio {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: 2px solid #008cff;
    color: #333;
    padding: 8px 20px;
    margin: 0 10px 10px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.filter-btn:hover, .filter-btn.active {
    background-color: #008cff;
    color: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.portfolio-item {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 250px;
    transition: all 0.4s;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 140, 255, 0.2);
}

.portfolio-img {
    height: 100%;
    width: 100%;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.portfolio-overlay {
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    color: white;
    transition: all 0.3s;
}

.portfolio-item:hover .portfolio-overlay {
    bottom: 0;
}

.portfolio-overlay h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.portfolio-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.portfolio-video {
    text-align: center;
    margin-top: 50px;
}

.portfolio-video h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: #333;
}

.video-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    width: 100%;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background-color: rgba(0, 140, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    cursor: pointer;
    transition: all 0.3s;
}

.play-button:hover {
    background-color: #008cff;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: #1a1a1a;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 10px 0;
    }
    
    .nav-link {
        display: block;
        padding: 10px;
    }
    
    .nav-btn {
        margin-top: 10px;
    }
}