/*
Theme Name: AdsCeylon
Theme URI: https://adsceylon.com
Author: AdsCeylon
Description: Custom theme based on HTML template
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: adsceylon
*/
  * {
            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: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        .container1 {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 0px; /* increased horizontal padding for more space */
    display: flex;           /* make container a flexbox */
    align-items: center;     /* vertically center nav items */
    justify-content: space-between;  /* space between logo and nav links */
    gap: 20px;               /* optional: gap between flex items */
}

        a{
          text-decoration: none;
          color: #ffffff; 
        }
        
        header {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            padding: 1rem 0;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
        }
        
        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            
        }
        
        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 2rem;
            font-weight: bold;
            color: #667eea;
            text-decoration: none;
            cursor: pointer;
            transition: transform 0.3s ease;
        }
        
        .logo:hover {
            transform: scale(1.05);
        }
        
        .logo-icon {
            width: 45px;
            height: 45px;
            background: linear-gradient(135deg, #667eea, #764ba2);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5rem;
            font-weight: bold;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
            transition: all 0.3s ease;
        }
        
        .logo:hover .logo-icon {
            box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
            transform: rotate(5deg);
        }
        
        .nav-links {
            display: flex;
            list-style: none;
            gap: 3rem;
            font-size: 18px;
        }
        
        .nav-links a {
            text-decoration: none;
            color: #333;
            font-weight: 500;
            transition: color 0.3s ease;
            cursor: pointer;
        }
        
        .nav-links a:hover {
            color: #667eea;
        }
        
        .dropdown {
            position: relative;
            display: inline-block;
            
        }
        
        .dropdown-content {
            display: none;
            position: absolute;
            background-color: white;
            min-width: 200px;
            box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
            z-index: 1001;
            border-radius: 8px;
            padding: 10px 0;
            top: 100%;
            left: 0;
            font-size: 15px;
        }
        
        .dropdown-content a {
            color: #333 !important;
            padding: 12px 16px;
            text-decoration: none;
            display: block;
            transition: background-color 0.3s ease;
        }
        
        .dropdown-content a:hover {
            background-color: #f1f1f1;
            color: #667eea !important;
        }
        
        .dropdown:hover .dropdown-content {
            display: block;
        }
        
        .dropdown > a::after {
            content: " ▼";
            font-size: 0.8rem;
        }
        
        .hero {
            padding: 120px 0 80px;
            text-align: center;
            color: white;
            position: relative;
            overflow: hidden;
        }
        
        .hero::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 1200 600"><defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23667eea;stop-opacity:0.3" /><stop offset="100%" style="stop-color:%23764ba2;stop-opacity:0.3" /></linearGradient></defs><circle cx="100" cy="100" r="50" fill="%23FFD700" opacity="0.6"><animateTransform attributeName="transform" type="translate" values="0,0; 1100,0; 1100,500; 0,500; 0,0" dur="20s" repeatCount="indefinite"/></circle><circle cx="300" cy="200" r="30" fill="%2300CED1" opacity="0.5"><animateTransform attributeName="transform" type="translate" values="0,0; -200,300; 1000,400; 1200,0; 0,0" dur="25s" repeatCount="indefinite"/></circle><circle cx="800" cy="150" r="40" fill="%23FF6B6B" opacity="0.4"><animateTransform attributeName="transform" type="translate" values="0,0; -600,200; -800,450; 400,500; 0,0" dur="30s" repeatCount="indefinite"/></circle><rect x="500" y="300" width="60" height="60" fill="%2398FB98" opacity="0.5" rx="10"><animateTransform attributeName="transform" type="rotate" values="0 530 330; 360 530 330" dur="15s" repeatCount="indefinite"/><animateTransform attributeName="transform" type="translate" values="0,0; 400,-100; -300,100; 0,0" dur="18s" repeatCount="indefinite" additive="sum"/></rect></svg>') no-repeat center center;
            background-size: cover;
            animation: backgroundMove 40s linear infinite;
            z-index: -1;
        }
        
        @keyframes backgroundMove {
            0% { transform: translateX(0); }
            50% { transform: translateX(-100px); }
            100% { transform: translateX(0); }
        }
        
        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 1rem;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
            animation: titleFloat 3s ease-in-out infinite;
        }
        
        @keyframes titleFloat {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-10px); }
        }
        
        .hero p {
            font-size: 1.3rem;
            margin-bottom: 2rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
            animation: fadeInUp 1s ease-out 0.5s both;
        }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .services-overview {
            background: white;
            padding: 80px 0;
        }
        
        .section-title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 3rem;
            color: #333;
        }
        
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }
        
        .service-card {
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
            padding: 2.5rem;
            border-radius: 15px;
            text-align: center;
            transition: all 0.4s ease;
            border: 1px solid #e9ecef;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            animation: slideInUp 0.6s ease-out both;
        }
        
        .service-card:nth-child(1) { animation-delay: 0.1s; }
        .service-card:nth-child(2) { animation-delay: 0.2s; }
        .service-card:nth-child(3) { animation-delay: 0.3s; }
        .service-card:nth-child(4) { animation-delay: 0.4s; }
        
        @keyframes slideInUp {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
            transition: left 0.5s;
        }
        
        .service-card:hover::before {
            left: 100%;
        }
        
        .service-card:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
        }
        
        .service-card:hover h3,
        .service-card:hover p,
        .service-card:hover li {
            color: white;
        }
        
        .service-icon {
            font-size: 4rem;
            margin-bottom: 1.5rem;
            transition: transform 0.3s ease;
            animation: bounce 2s infinite;
        }
        
        .service-card:hover .service-icon {
            transform: scale(1.2) rotate(5deg);
            animation: none;
        }
        
        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateY(0);
            }
            40% {
                transform: translateY(-10px);
            }
            60% {
                transform: translateY(-5px);
            }
        }
        
        .service-card h3 {
            font-size: 1.8rem;
            margin-bottom: 1rem;
            color: #333;
        }
        
        .service-card p {
            color: #666;
            line-height: 1.6;
            margin-bottom: 1.5rem;
        }
        
        .service-features {
            list-style: none;
            text-align: left;
            margin-bottom: 2rem;
        }
        
        .service-features li {
            padding: 0.5rem 0;
            color: #555;
            position: relative;
            padding-left: 1.5rem;
        }
        
        .service-features li:before {
            content: "✓";
            position: absolute;
            left: 0;
            color: #28a745;
            font-weight: bold;
        }
        
        .learn-more-btn {
            background: linear-gradient(45deg, #667eea, #764ba2);
            color: white;
            padding: 12px 25px;
            border: none;
            border-radius: 25px;
            font-weight: bold;
            cursor: pointer;
            transition: transform 0.3s ease;
            text-decoration: none;
            display: inline-block;
        }
        
        .learn-more-btn:hover {
            transform: translateY(-2px);
        }
        
        .blog-section {
            background: linear-gradient(135deg, #679acd22, #69b4fe31);
            color: white;
            padding: 80px 0;
        }
        
        .blog-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }
        
        .blog-card {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            padding: 2rem;
            border-radius: 15px;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
            cursor: pointer;
            animation: fadeInScale 0.8s ease-out both;
        }
        
        .blog-card:nth-child(1) { animation-delay: 0.1s; }
        .blog-card:nth-child(2) { animation-delay: 0.2s; }
        .blog-card:nth-child(3) { animation-delay: 0.3s; }
        .blog-card:nth-child(4) { animation-delay: 0.4s; }
        .blog-card:nth-child(5) { animation-delay: 0.5s; }
        .blog-card:nth-child(6) { animation-delay: 0.6s; }
        
        @keyframes fadeInScale {
            from {
                opacity: 0;
                transform: scale(0.8);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }
        
        .blog-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, rgba(255,215,0,0.1), rgba(0,206,209,0.1));
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .blog-card:hover::after {
            opacity: 1;
        }
        
        .blog-card:hover {
            transform: translateY(-10px) rotateX(5deg);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
            background: rgba(255, 255, 255, 0.2);
        }
        
        .blog-card h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: #FFD700;
            position: relative;
            z-index: 1;
            transition: transform 0.3s ease;
        }
        
        .blog-card:hover h3 {
            transform: scale(1.05);
            text-shadow: 0 0 10px rgba(255,215,0,0.5);
        }
        
        .blog-card p {
            position: relative;
            z-index: 1;
        }
        
        .service-page {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            min-height: 100vh;
            padding: 120px 0 80px;
            position: relative;
            overflow: hidden;
        }
        
        .service-page::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 1200 800"><circle cx="200" cy="200" r="100" fill="%23667eea" opacity="0.1"><animate attributeName="r" values="100;120;100" dur="4s" repeatCount="indefinite"/></circle><circle cx="800" cy="300" r="80" fill="%23764ba2" opacity="0.1"><animate attributeName="r" values="80;100;80" dur="3s" repeatCount="indefinite"/></circle><circle cx="1000" cy="600" r="60" fill="%23FFD700" opacity="0.1"><animate attributeName="r" values="60;80;60" dur="5s" repeatCount="indefinite"/></circle></svg>') no-repeat center center;
            background-size: cover;
            z-index: 0;
        }
        
        .service-hero {
            text-align: center;
            margin-bottom: 4rem;
            position: relative;
            z-index: 1;
            animation: fadeInDown 1s ease-out;
        }
        
        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .service-hero h1 {
            font-size: 3rem;
            color: #333;
            margin-bottom: 1rem;
            animation: textGlow 2s ease-in-out infinite alternate;
        }
        
        @keyframes textGlow {
            from {
                text-shadow: 0 0 5px rgba(102, 126, 234, 0.3);
            }
            to {
                text-shadow: 0 0 20px rgba(102, 126, 234, 0.6), 0 0 30px rgba(102, 126, 234, 0.4);
            }
        }
        
        .service-hero .icon {
            font-size: 5rem;
            margin-bottom: 1rem;
            animation: iconPulse 3s ease-in-out infinite;
        }
        
        @keyframes iconPulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.1);
            }
        }
        
        .service-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            margin-bottom: 4rem;
            position: relative;
            z-index: 1;
        }
        
        .service-details {
            animation: slideInLeft 1s ease-out 0.3s both;
        }
        
        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        .service-details h3 {
            font-size: 1.8rem;
            margin-bottom: 1rem;
            color: #667eea;
            position: relative;
            overflow: hidden;
        }
        
        .service-details h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 3px;
            background: linear-gradient(90deg, #667eea, #764ba2);
            transition: width 0.3s ease;
        }
        
        .service-details h3:hover::after {
            width: 100%;
        }
        
        .service-details p {
            margin-bottom: 1.5rem;
            line-height: 1.8;
            transition: transform 0.3s ease;
        }
        
        .service-details p:hover {
            transform: translateX(10px);
        }
        
        .service-packages {
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            padding: 3rem;
            border-radius: 15px;
            animation: slideInRight 1s ease-out 0.5s both;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }
        
        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        .package {
            background: white;
            padding: 2rem;
            border-radius: 10px;
            margin-bottom: 1.5rem;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }
        
        .package::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
            transition: left 0.5s;
        }
        
        .package:hover::before {
            left: 100%;
        }
        
        .package:hover {
            transform: translateY(-5px) scale(1.02);
            box-shadow: 0 10px 25px rgba(102, 126, 234, 0.2);
            border: 2px solid #667eea;
        }
        
        .package h4 {
            color: #667eea;
            font-size: 1.3rem;
            margin-bottom: 0.5rem;
            transition: color 0.3s ease;
        }
        
        .package:hover h4 {
            color: #764ba2;
        }
        
        .package .price {
            font-size: 1.5rem;
            font-weight: bold;
            color: #28a745;
            margin-bottom: 1rem;
            animation: priceGlow 2s ease-in-out infinite alternate;
        }
        
        @keyframes priceGlow {
            from {
                text-shadow: 0 0 5px rgba(40, 167, 69, 0.3);
            }
            to {
                text-shadow: 0 0 15px rgba(40, 167, 69, 0.6);
            }
        }
        
        .back-btn {
            background: #6c757d;
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            margin-bottom: 2rem;
            transition: background 0.3s ease;
        }
        
        .back-btn:hover {
            background: #5a6268;
        }
        
        .contact {
            background: #2c3e50;
            color: white;
            padding: 60px 0;
            text-align: center;
        }
        
        .contact-form {
            max-width: 600px;
            margin: 0 auto;
            display: grid;
            gap: 1rem;
        }
        
        .contact-form input,
        .contact-form textarea {
            padding: 15px;
            border: none;
            border-radius: 8px;
            font-size: 1rem;
            background: rgba(255, 255, 255, 0.1);
            color: white;
            backdrop-filter: blur(10px);
        }
        
        .contact-form input::placeholder,
        .contact-form textarea::placeholder {
            color: rgba(255, 255, 255, 0.7);
        }
        
        .contact-form button {
            background: linear-gradient(45deg, #ff6b6b, #ee5a24);
            color: white;
            padding: 15px;
            border: none;
            border-radius: 8px;
            font-size: 1.1rem;
            font-weight: bold;
            cursor: pointer;
            transition: transform 0.3s ease;
        }
        
        .contact-form button:hover {
            transform: translateY(-2px);
        }
        
      
        
        .social-links {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-bottom: 2rem;
        }
        
        .social-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 50px;
            height: 50px;
            background: linear-gradient(45deg, #667eea, #764ba2);
            border-radius: 50%;
            color: white;
            text-decoration: none;
            font-size: 1.5rem;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .social-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: left 0.5s;
        }
        
        .social-link:hover::before {
            left: 100%;
        }
        
        .social-link:hover {
            transform: translateY(-5px) scale(1.1);
            box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
        }
        
        .social-link.instagram:hover {
            background: linear-gradient(45deg, #E4405F, #C13584, #833AB4);
        }
        
        .social-link.facebook:hover {
            background: linear-gradient(45deg, #1877F2, #42A5F5);
        }
        
        .social-link.email:hover {
            background: linear-gradient(45deg, #FF6B6B, #EE5A24);
        }
        
        .interactive-card:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 15px 35px rgba(102, 126, 234, 0.2);
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: white;
        }
        
        .interactive-card:hover h3 {
            color: white !important;
            transform: scale(1.05);
        }
        
        .interactive-card:hover div:first-child {
            transform: scale(1);
        }
        
        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .services-grid {
                grid-template-columns: 1fr;
            }
            
            .service-content {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .nav-links {
                gap: 1rem;
            }
        }