 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 body {
     font-family: 'Segoe UI', sans-serif;
 }

 .navbar {
     background: linear-gradient(to right, #1c1c1c, #0e064c);
     color: white;
     padding: 15px 25px;
     display: flex;
     justify-content: space-between;
     align-items: center;
     position: sticky;
     top: 0;
     z-index: 1000;
     box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
 }

 .logo {
     font-size: 26px;
     font-weight: bold;
     color: #00bcd4;
     text-transform: uppercase;
     letter-spacing: 2px;
 }

 .menu-toggle {
     display: none;
     font-size: 28px;
     color: white;
     cursor: pointer;
 }

 /* Nav links */
 .nav-links {
     list-style: none;
     display: flex;
     gap: 25px;
 }

 .nav-links li {
     position: relative;
     list-style: none;
 }

 .nav-links a {
     text-decoration: none;
     color: white;
     font-weight: 600;
     padding: 8px 10px;
     transition: all 0.3s ease;
     position: relative;
 }

 .nav-links a::after {
     content: "";
     position: absolute;
     bottom: -4px;
     left: 0;
     height: 2px;
     width: 0;
     background-color: #ff4081;
     transition: width 0.4s ease;
 }

 .nav-links a:hover {
     color: #ff4081;
 }

 .nav-links a:hover::after {
     width: 100%;
 }

 /* Dropdown */
 .dropdown-menu {
     display: none;
     position: absolute;
     background: linear-gradient(to right, #1c1c1c, #0e064c);
     top: 100%;
     left: 0;
     border-radius: 8px;
     min-width: 200px;
     box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
     z-index: 1000;
 }

 .dropdown:hover .dropdown-menu {
     display: block;
 }

 .dropdown-menu li {
     padding: 10px 20px;
 }

 .dropdown-menu a {
     font-size: 16px;
     color: white;
 }

 .dropdown-menu a:hover {
     color: #ff4081;
 }

 /* Responsive */
 @media (max-width: 768px) {
     .menu-toggle {
         display: block;
     }

     .nav-links {
         position: absolute;
         top: 65px;
         left: 0;
         background: linear-gradient(to right, #1c1c1c, #0e064c);
         width: 100%;
         flex-direction: column;
         align-items: flex-start;
         display: none;
         padding: 10px 0;
     }

     .nav-links.active {
         display: flex;
     }

     .nav-links li {
         width: 100%;
         padding: 10px 20px;
     }

     .dropdown-menu {
         position: relative;
         box-shadow: none;
         padding-left: 15px;
     }

     .dropdown:hover .dropdown-menu {
         display: none;
     }

     .dropdown>a::after {
         content: " ▼";
         font-size: 12px;
     }

     .dropdown>a:active+.dropdown-menu,
     .dropdown>a:focus+.dropdown-menu {
         display: block;
     }
 }


 .hero {
     text-align: center;
     padding: 80px 20px;
     background: url('https://source.unsplash.com/1600x400/?writing,blog') center/cover no-repeat;
     color: rgb(11, 28, 182);
 }

 .hero h2 {
     font-size: 40px;
     margin-bottom: 15px;
     text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
     letter-spacing: 1px;
     text-transform: uppercase;
     animation: fadeInDown 1s ease-in-out;
 }

 .hero p {
     font-size: 20px;
     text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
     font-style: italic;
     max-width: 600px;
     margin: auto;
     animation: fadeInUp 1s ease-in-out;
 }

 @keyframes fadeInDown {
     from {
         opacity: 0;
         transform: translateY(-30px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 @keyframes fadeInUp {
     from {
         opacity: 0;
         transform: translateY(30px);
     }

     to {
         opacity: 1;
         transform: translateY(0);
     }
 }

 .blog-section {
     width: 90%;
     margin: auto;
     padding: 60px 0;
 }

 .blog-container {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 40px;
 }

 /* Initial hidden state for animation */
 .blog-section {
     width: 90%;
     margin: auto;
     padding: 60px 0;
 }

 .blog-container {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 40px;
 }

 /* Blog Card Styling */
 .blog-card {
     display: flex;
     flex-direction: column;
     justify-content: flex-start;
     background: #fff;
     border-radius: 20px;
     overflow: hidden;
     box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
     transition: transform 0.3s ease, box-shadow 0.3s ease;

     /* Animation */
     opacity: 0;
     transform: scale(0.95) translateY(30px);
     animation: blogFadeIn 0.8s ease forwards;
 }

 /* Page load animation delay (staggered) */
 .blog-card:nth-child(1) {
     animation-delay: 0.2s;
 }

 .blog-card:nth-child(2) {
     animation-delay: 0.4s;
 }

 .blog-card:nth-child(3) {
     animation-delay: 0.6s;
 }

 .blog-card:nth-child(4) {
     animation-delay: 0.8s;
 }

 @keyframes blogFadeIn {
     to {
         opacity: 1;
         transform: scale(1) translateY(0);
     }
 }

 /* Blog Image */
 .blog-card img {
     width: 100%;
     height: 220px;
     object-fit: cover;
     border-bottom: 1px solid #eee;
     transition: transform 0.4s ease;
 }

 /* Image zoom on hover */
 .blog-card:hover img {
     transform: scale(1.05);
 }

 /* Content Styling */
 .blog-content {
     padding: 25px 20px;
     display: flex;
     flex-direction: column;
     gap: 10px;
 }

 .blog-content h3 {
     font-size: 20px;
     font-weight: 700;
     color: #007991;
     margin: 0;
 }

 .blog-content p {
     color: #555;
     font-size: 15px;
     line-height: 1.6;
 }

 .blog-content a {
     margin-top: 10px;
     color: #007991;
     text-decoration: none;
     font-weight: 600;
     transition: color 0.3s;
 }

 .blog-content a:hover {
     color: #ff4b2b;
 }

 .blog-card:hover img {
     transform: scale(1.05);
 }


 .blog-card:hover {
     transform: translateY(-10px);
     box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
 }


 .blog-content {
     padding: 25px;
 }

 .blog-content h3 {
     color: #007991;
     margin-bottom: 10px;
 }

 .blog-content p {
     color: #555;
     font-size: 15px;
 }

 .blog-content a {
     display: inline-block;
     margin-top: 15px;
     color: #007991;
     text-decoration: none;
     font-weight: 600;
     transition: color 0.3s;
 }

 .blog-content a:hover {
     color: #ff4b2b;
 }



 /* ✅ Footer styles are now OUTSIDE the media query */

 /* Footer Base */
 footer {
     background: linear-gradient(to right, #2e455b, #2f7580);
     color: #ffffff;
     padding: 60px 20px;
     text-align: center;
     font-family: 'Segoe UI', sans-serif;
     position: relative;
     overflow: hidden;
     box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
 }

 /* Container Styling */
 .footer-container {
     max-width: 1100px;
     margin: 0 auto;
     display: flex;
     flex-direction: column;
     gap: 40px;
     align-items: center;
 }

 /* Contact Bar Styling */
 .contact-bar {
     display: flex;
     justify-content: center;
     gap: 60px;
     flex-wrap: wrap;
     animation: fadeInUp 1s ease-in-out;
 }

 .contact-bar.single {
     justify-content: center;
 }

 /* Contact Item Styling */
 .contact-item {
     display: flex;
     flex-direction: column;
     align-items: center;
     gap: 10px;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
 }

 .contact-item:hover {
     transform: translateY(-5px);
     box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
 }

 /* Icon Styling with Glow Effect */
 .contact-item img {
     width: 36px;
     height: 36px;
     transition: transform 0.3s ease;
 }

 @media only screen and (max-width: 600px) {
     .contact-bar {
         justify-content: center;
         flex-wrap: wrap;
         gap: 20px;
     }

     .contact-item {
         flex: 0 0 45%;
         max-width: 45%;
         margin-bottom: 20px;
         box-sizing: border-box;
     }

     /* Agar last item hai to usko center align karne ke liye */
     .contact-bar .contact-item:last-child {
         flex: 0 0 90%;
         max-width: 90%;
         margin: 0 auto;
     }

     .phone-numbers {
         display: flex;
         flex-direction: column;
         align-items: center;
         text-align: center;
     }

     .phone-numbers span {
         display: block;
         margin: 3px 0;
         font-size: 14px;
     }
 }



 .news-img img {
     width: 95%;
     height: auto;
     /* height ko auto rakhna chahiye taake aspect ratio maintain rahe */
     max-height: 80px;
     /* agar height fix karni ho to */
     display: block;
     margin: 0 auto;
     /* center align karne ke liye */
 }

 @media only screen and (max-width: 600px) {
     .news-img img {
         width: 90%;
         max-height: 60px;
     }
 }