/* Global Styles */
:root {
    --primary-color: #4a6fa5;
    --secondary-color: #166088;
    --accent-color: #4fc3f7;
    --text-color: #333;
    --light-color: #f4f4f4;
    --dark-color: #333;
    --max-width: 1200px;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    /* Fix for mobile viewport height */
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
  }
  
  .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    overflow: hidden;
  }
  
  a {
    text-decoration: none;
    color: var(--primary-color);
  }
  
  ul {
    list-style: none;
  }
  
  img {
    max-width: 100%;
  }
  
  /* Header */
  header {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 
      0 8px 32px rgba(0, 0, 0, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
  }
  
  .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--dark-color);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  }
  
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
  }
  
  .nav-menu {
    display: flex;
  }
  
  .nav-menu li {
    margin-left: 20px;
  }
  
  .nav-menu a {
    padding: 10px;
    transition: all 0.3s ease;
    color: var(--dark-color);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  }
  
  .nav-menu a:hover {
    color: var(--primary-color);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  }
  
  .hamburger {
    display: none;
    cursor: pointer;
    color: var(--dark-color);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  }
  
  /* Hero Section */
  .hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    height: 70vh;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
  }
  
  .hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
  }
  
  .hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    max-width: 600px;
  }
  
  .btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
  }
  
  .btn:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
  }
  
  /* Sections */
  section {
    padding: 60px 0;
  }
  
  .section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: var(--primary-color);
  }
  
  .section-content {
    margin-bottom: 40px;
  }
  
  /* About Section */
  .about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }
  
  /* Services Section */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }
  
  .service-card {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: transform 0.3s ease;
  }
  
  .service-card:hover {
    transform: translateY(-10px);
  }
  
  .service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 20px;
  }
  
  .service-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
  }
  
  /* Gallery */
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    perspective: 1000px;
  }
  
  .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 250px;
    background: linear-gradient(145deg, var(--primary-color), var(--secondary-color));
    box-shadow: 
      0 20px 40px rgba(0, 0, 0, 0.3),
      0 10px 20px rgba(0, 0, 0, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform-style: preserve-3d;
    transition: all 0.6s ease;
    cursor: pointer;
  }
  
  .gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.1));
    border-radius: 15px;
    pointer-events: none;
  }
  
  .gallery-item:hover {
    transform: rotateY(5deg) rotateX(5deg) translateZ(20px);
    box-shadow: 
      0 30px 60px rgba(0, 0, 0, 0.4),
      0 15px 30px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }
  
  .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.6s ease;
    transform: translateZ(10px);
  }
  
  .gallery-item:hover .gallery-overlay {
    opacity: 1;
  }
  
  .gallery-overlay h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }
  
  .gallery-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  }
  
  .gallery-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 1;
  }
  
  .gallery-text h4 {
    margin: 0;
    font-size: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: bold;
  }
  
  .gallery-text p {
    margin: 5px 0 0 0;
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  }
  
  /* Blog */
  .blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }
  
  .blog-card {
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
  }
  
  .blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  
  .blog-content {
    padding: 20px;
  }
  
  .blog-content h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
  }
  
  .blog-date {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 10px;
  }
  
  /* Contact Form */
  .contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  
  .contact-info {
    margin-bottom: 30px;
  }
  
  .contact-info h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
  }
  
  .contact-info p {
    margin-bottom: 10px;
  }
  
  .contact-form .form-group {
    margin-bottom: 20px;
  }
  
  .contact-form label {
    display: block;
    margin-bottom: 5px;
  }
  
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
  }
  
  .contact-form textarea {
    height: 150px;
  }
  
  .map {
    height: 300px;
    margin-top: 30px;
    border-radius: 5px;
    overflow: hidden;
  }
  
  /* FAQ */
  .faq-container {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .faq-item {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
  }
  
  .faq-question {
    font-weight: bold;
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .faq-answer {
    display: none;
    padding: 10px 0;
  }
  
  .faq-answer.active {
    display: block;
  }
  
  /* Footer */
  footer {
    background: var(--dark-color);
    color: #fff;
    padding: 40px 0;
  }
  
  .footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
  }
  
  .footer-section h3 {
    margin-bottom: 20px;
    color: var(--accent-color);
  }
  
  .footer-section ul li {
    margin-bottom: 10px;
  }
  
  .footer-section a {
    color: #fff;
  }
  
  .footer-section a:hover {
    color: var(--accent-color);
  }
  
  .social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
  }
  
  .social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #fff;
    color: var(--dark-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
  }
  
  .social-icons a:hover {
    background: var(--accent-color);
    color: #fff;
  }
  
  .footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
  }

/* Desktop Enhancements */
@media (min-width: 1200px) {
  .gallery-item:hover {
    transform: rotateY(8deg) rotateX(8deg) translateZ(30px);
  }
  
  .service-card:hover {
    transform: translateY(-15px);
  }
  
  .btn:hover {
    transform: translateY(-5px);
  }
  
  /* Enhanced glassmorphism for desktop */
  header {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
  }
}

/* Mobile Enhancements */
@media (max-width: 768px) {
  /* Improve touch interactions */
  .gallery-item {
    transition: transform 0.3s ease; /* Faster transition for mobile */
  }

  .gallery-item:hover {
    transform: scale(1.02); /* Subtle scale instead of 3D for mobile */
  }

  .service-card:hover {
    transform: translateY(-5px); /* Reduced lift for mobile */
  }

  /* Better mobile form handling */
  .contact-form input:focus,
  .contact-form textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
  }

  /* Improve readability on mobile */
  .section-content {
    line-height: 1.7;
  }

  /* Better mobile navigation */
  .hamburger {
    -webkit-tap-highlight-color: transparent;
  }

  .nav-menu a {
    -webkit-tap-highlight-color: transparent;
  }

  /* Prevent horizontal scroll */
  body {
    overflow-x: hidden;
  }

  /* Better mobile gallery */
  .gallery-overlay {
    background: rgba(0, 0, 0, 0.8);
  }

  .gallery-overlay h3 {
    font-size: 1.5rem;
  }

  .gallery-overlay p {
    font-size: 1rem;
  }
}
  